Skip to content

Instantly share code, notes, and snippets.

@ekala
Created February 26, 2013 18:11
Show Gist options
  • Save ekala/5040669 to your computer and use it in GitHub Desktop.
Save ekala/5040669 to your computer and use it in GitHub Desktop.
Sample Apache VirtualHost Configuration File
#
# Virtual host configuration for piercecounty.swiftapp.com
#
<VirtualHost *:80>
ServerName piercecounty.swiftapp.com
ServerAdmin dan.king@viewpoint.pro
CustomLog /opt/vhosts/domains/piercecounty.swiftapp.com/logs/access.log combined
ErrorLog /opt/vhosts/domains/piercecounty.swiftapp.com/logs/error.log
DocumentRoot /opt/vhosts/domains/piercecounty.swiftapp.com/web
<Directory />
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment