Created
June 21, 2012 11:09
-
-
Save ekinertac/2965156 to your computer and use it in GitHub Desktop.
Apache2 Sites Enable Config File
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 webmaster@$domain | |
ServerName www.$domain | |
ServerAlias $domain | |
# Indexes + Directory Root. | |
DirectoryIndex index.php | |
DocumentRoot /home/$domain/htdocs/ | |
# CGI Directory | |
ScriptAlias /cgi-bin/ /home/$domain/cgi-bin/ | |
<Location /cgi-bin> | |
Options +ExecCGI | |
</Location> | |
# Logfiles | |
ErrorLog /home/$domain/logs/error.log | |
CustomLog /home/$domain/logs/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment