Skip to content

Instantly share code, notes, and snippets.

@johannesberdin
Created January 3, 2016 20:36
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 johannesberdin/6493681c4c43db9e2390 to your computer and use it in GitHub Desktop.
Save johannesberdin/6493681c4c43db9e2390 to your computer and use it in GitHub Desktop.
Default Apache2 configuration for my Vagrant lamp stack
<VirtualHost *:80>
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment