Skip to content

Instantly share code, notes, and snippets.

Created March 27, 2014 18:42
<VirtualHost *:80>
ServerAdmin support@localhost.com
ServerName domain-name.com
DocumentRoot /home/user/public_html/public
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/user/public_html/public/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/user-error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/user-access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment