Skip to content

Instantly share code, notes, and snippets.

@ryanstrandt
Created September 10, 2009 23:38
Show Gist options
  • Save ryanstrandt/184925 to your computer and use it in GitHub Desktop.
Save ryanstrandt/184925 to your computer and use it in GitHub Desktop.
# GL Staff site
# domain: staff.glccc.org
# public: /home/gladmin/public_html/staff.glccc.org/public/
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin [email protected]
ServerName staff.glccc.org
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html index.htm index.php
DocumentRoot /home/gladmin/public_html/staff.glccc.org/public
# Custom log file locations
LogLevel debug
ErrorLog /home/gladmin/public_html/staff.glccc.org/log/error.log
CustomLog /home/gladmin/public_html/staff.glccc.org/log/access.log combined
# Error pages
ErrorDocument 404 /errors/404.html
ErrorDocument 403 /errors/403.html
# cgi-bin script location
ScriptAlias /cgi-bin/ /home/gladmin/public_html/staff.glccc.org/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>
<Directory /home/gladmin/public_html/staff.glccc.org/public>
AllowOverride All
Options SymLinksIfOwnerMatch
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment