Created
May 27, 2014 10:03
-
-
Save ChengLong/82ee79d8a43caec01bea to your computer and use it in GitHub Desktop.
virtual host config for Apache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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