Skip to content

Instantly share code, notes, and snippets.

@zikosw
Created September 20, 2014 08:58
Show Gist options
  • Save zikosw/b1a90519b803cc1e7d3b to your computer and use it in GitHub Desktop.
Save zikosw/b1a90519b803cc1e7d3b to your computer and use it in GitHub Desktop.
apache2 config : laravel
<VirtualHost *:80>
ServerName localhost
ServerAdmin admin@web.com
DocumentRoot /var/www/html/laravel/public
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/html/laravel/public/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment