我有一个laravel 5项目。和WAMP服务器。
' index.php'页面正确显示,但不是css和js文件。每次我遇到这种错误:
禁止
您无权访问此服务器上的/ecole/public/css/bootstrap.min.css。
Apache / 2.4.9(Win64)PHP / 5.5.12服务器在localhost端口80
我的.htaccess是:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
但我认为问题不在于此档案。我认为pb是关于apache配置(httpd.conf),但我不知道到底是什么。