Skip to content

Instantly share code, notes, and snippets.

@marcatos
Created March 31, 2016 17:03
Show Gist options
  • Save marcatos/45d0e991988dfee5d9e198d325c5fb48 to your computer and use it in GitHub Desktop.
Save marcatos/45d0e991988dfee5d9e198d325c5fb48 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/var/www/magento2/pub"
ServerName magento2.loc
ServerAlias www.magento2.loc
ErrorLog "/var/log/apache2/magento2.error.log"
CustomLog "/var/log/apache2/magento2.access.log" common
<Directory "/var/www/magento2/pub">
Order allow,deny
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Allow from all
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment