Created
October 6, 2016 20:16
-
-
Save cdtweb/ee2a490ac6ff48916b86d384eb115c39 to your computer and use it in GitHub Desktop.
Basic Apache VirtualHost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot /var/www/example.org/public | |
ServerName example.org | |
ServerAlias www.example.org | |
<Directory /var/www/example.org/public> | |
Options All | |
AllowOverride All | |
Require all granted | |
</Directory> | |
ErrorLog /var/www/example.org/apache_error_log | |
TransferLog /var/www/example.org/apache_access_log | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment