Skip to content

Instantly share code, notes, and snippets.

@ChengLong
Created May 27, 2014 10:03
Show Gist options
  • Save ChengLong/82ee79d8a43caec01bea to your computer and use it in GitHub Desktop.
Save ChengLong/82ee79d8a43caec01bea to your computer and use it in GitHub Desktop.
virtual host config for Apache
If you see *403 Forbidden* when running your app with Apache, it's because Apache is too strict on permissions. Set the following in virtual host config.
```
<Directory "/home/your_app/public">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
#Require all granted
</Directory>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment