我在托管环境中安装laraval 4应用程序时遇到问题。Apache文件夹未显示
我现在遇到的问题是,“公共”文件夹在www.eversite.be/laraval/时没有显示在列表中,有人可以告诉我为什么是这样,我该如何让它可见。
这是否与apache有关,例如权限设置。因为我已经改变了文件夹,777这将是虽然奇怪
Apache的错误日志:在/公共
[Mon Jan 13 17:47:11 2014] [alert] [client 178.116.245.86] /sites/eversite.be/www/laravel/public/.htaccess: Options not allowed here
[Mon Jan 13 17:47:19 2014] [alert] [client 178.116.245.86] /sites/eversite.be/www/laravel/public/.htaccess: Options not allowed here
[Mon Jan 13 17:47:23 2014] [alert] [client 178.116.245.86] /sites/eversite.be/www/laravel/public/.htaccess: Options not allowed here
.htaccess文件/
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
</IfModule>
链接到的phpinfo(); :http://eversite.be/laravel/modrewrite.php
THX,
我有同样的问题。您是否找到解决方案? – IshaS
我删除了' 选项-MultiViews '并修复了问题。 –
IshaS