Skip to content

Instantly share code, notes, and snippets.

@obense
Last active December 13, 2017 17:31
Show Gist options
  • Save obense/e045bf6f1c0eee787704a6b668dadd9e to your computer and use it in GitHub Desktop.
Save obense/e045bf6f1c0eee787704a6b668dadd9e to your computer and use it in GitHub Desktop.
Vhost config apache 2.4
<VirtualHost *:80>
DocumentRoot "/<myfullpath>/httpdocs/web"
ServerName <myapp>.loc
<Directory /<myfullpath>/httpdocs>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
Options FollowSymLinks Indexes
ErrorLog "/private/var/log/apache2/<myapp>-error_log"
CustomLog "/private/var/log/apache2/<myapp>-access_log" common
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment