I have installed Laravel 4
on my public_html
folder locally, and I can access its public
folder when declaring a vhost
pointing to it, through the vhost url
.
But, when I try to access Laravel
public folder through its parent folders, I get an error in apache logs (error_log
): $LARAVEL_HOME/public/.htaccess
: Options not allowed here. Even if there is a AllowOverride All
in $VHOST_CONF/site
.
The first line in the .htaccess (Options Multiviews
), is causing this error when I delete it, or put it in $VHOST_CONF/site
, it works.
So, How do I do to I access through the hierarchy, without modifying the .htaccess
file?
In the Apache configuration file for the website set AllowOverride to AllowOverride All similar to the following: