Skip to content

Instantly share code, notes, and snippets.

@obense
Last active December 13, 2017 16:19
Show Gist options
  • Save obense/11cdfc787b359f3f1978 to your computer and use it in GitHub Desktop.
Save obense/11cdfc787b359f3f1978 to your computer and use it in GitHub Desktop.
Vhost config Apache 2.2
<VirtualHost *:80>
DocumentRoot "/Users/<myuser>/<mypath>/<myproject>/web"
ServerName <projectname>.local.net
<Directory /Users/<myuser>/<mypath>/<myproject>>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Options FollowSymLinks Indexes
ErrorLog "/private/var/log/apache2/<projectname>-error_log"
CustomLog "/private/var/log/apache2/<projectname>-access_log" common
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment