Skip to content
This repository was archived by the owner on May 31, 2018. It is now read-only.

Latest commit

 

History

History
48 lines (31 loc) · 1.28 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.28 KB

RPM Create Apache VHOST Script

Script is designed to work RPM based operating systems.

Bash script that makes adding new virtual hosts to Apache web server easy. Script can me moved to any directory, it doesn't use any relative dependencies and configuration files, but you still can configure script by declaring specific environment variables like:


${APACHE_SERVER_ROOT}

Location of server's root, directory that contain server's configuration files.

Default value: '/etc/httpd'


${APACHE_DOCUMENT_ROOT}

Location on disk where document roots for new virtual hosts will be created.

Default value: '/var/www'


${APACHE_SUB_DOMAIN}

Name of the domain that will be inserted between name of the host and root level domain.

Default value: ''


Dependencies:

  • bash
  • httpd

Author

  • Author: Kevin Rudissaar
  • Email: kevin.rudissaar[at]gmail.com
  • Twitter: @KevinRudissaar

Donate

If you found this script really useful or if you would just like to donate to developer, you can use following donation methods:

Donate via PayPal

BTC: 1HZNkcukFHYF5FKPTvsTnNQNiGQTHZcbR7