Skip to content

Instantly share code, notes, and snippets.

@fatihacet
Created August 18, 2012 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatihacet/3390139 to your computer and use it in GitHub Desktop.
Save fatihacet/3390139 to your computer and use it in GitHub Desktop.
vhost defination
#dev.site.com
<VirtualHost *:80>
ServerAdmin fatihacet.com
DocumentRoot "/Users/fatih/Sites/dev.site.com/source/public"
ServerName dev.site.com
ServerAlias dev.site.com
SetEnv APPLICATION_ENV "development"
<Directory "/Users/fatih/Sites/dev.site.com/source/public">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog "/private/var/log/apache2/dev.site.com-error_log"
CustomLog "/private/var/log/apache2/dev.site.com-access_log" common
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment