Skip to content

Instantly share code, notes, and snippets.

@aligundogdu
Created March 17, 2015 08:52
Show Gist options
  • Save aligundogdu/dd5226dc36fda24a0dcc to your computer and use it in GitHub Desktop.
Save aligundogdu/dd5226dc36fda24a0dcc to your computer and use it in GitHub Desktop.
host
<VirtualHost *:80>
ServerName zaa.dev
## Vhost docroot
DocumentRoot "/var/www/zaa/public"
## Directories, there should at least be a declaration for /var/www/veteriner/
public
<Directory "/var/www/zaa/public">
Options Indexes FollowSymlinks MultiViews
AllowOverride All
Require all granted
</Directory>
## Load additional static includes
## Logging
ErrorLog "/var/log/apache2/1k7trhfwniaj_error.log"
ServerSignature Off
CustomLog "/var/log/apache2/1k7trhfwniaj_access.log" combined
## Server aliases
ServerAlias www.zaa.dev
## SetEnv/SetEnvIf for environment variables
SetEnv APP_ENV dev
## Custom fragment
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment