Last active
August 29, 2015 14:20
-
-
Save wjn/d5340e4bee75f195bb90 to your computer and use it in GitHub Desktop.
Sample Apache2 Virtual Host
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
# domain: academicindexing.com | |
# public: /var/www/academicindexing.com/public/ | |
<VirtualHost *:80> | |
# Admin email, Server Name (domain name), and any aliases | |
ServerAdmin [email protected] | |
ServerName www.academicindexing.com | |
ServerAlias academicindexing.com | |
# Index file and Document Root (where the public files are located) | |
DirectoryIndex index.html index.php | |
DocumentRoot /var/www/academicindexing.com/public | |
# Log file locations | |
LogLevel warn | |
ErrorLog /var/www/academicindexing.com/logs/error.log | |
CustomLog /var/www/academicindexing.com/logs/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment