Skip to content

Instantly share code, notes, and snippets.

Created March 27, 2014 18:42
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 anonymous/9815001 to your computer and use it in GitHub Desktop.
Save anonymous/9815001 to your computer and use it in GitHub Desktop.
<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