Created
May 29, 2015 08:47
-
-
Save ajpaulson/243905317c3e0e0b03c2 to your computer and use it in GitHub Desktop.
Basic Apache Vhost
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> | |
ServerName domain.com | |
ServerAlias www.domain.com | |
ServerAdmin [email protected] | |
DocumentRoot /var/www/domain.com/ | |
<Directory /var/www/domain.com/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride FileInfo | |
Order allow,deny | |
allow from all | |
</Directory> | |
# Possible values: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel warn | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment