CSS ファイルの1 つがロードできず、firebug に HTTP 403 エラーが表示されます。
私の小枝:
<head>
{% block head %}
<script type="text/javascript" src="/bundles/my/js/jquery.min.js"></script>
<script type="text/javascript" src="/bundles/my/js/jquery-ui.min.js</script>
<link rel="stylesheet" href="/bundles/my/css/Aristo/Aristo.css" />
<link rel="stylesheet" href="/bundles/my/css/style.css" />
{% endblock %}
</head>
私のファイル構造:
php app/console assets:install web --symlink
無事に完走しました
app/console assetic:dump
戻り値:
Dumping all dev assets.
Debug mode is on.
注: js/jquery.min.js、js/jquery-ui.min.js、および css/style.css は正常に読み込まれますが、Aristo/Aristo.css のみが HTTP 403 エラーを表示します。
GET http://my.local/bundles/my/css/Aristo/Aristo.css 応答メッセージを編集します。
Response Header
HTTP/1.1 403 Forbidden
Date: Thu, 04 Jul 2013 18:28:36 GMT
Server: Apache/2.2.22 (Ubuntu)
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 260
Keep-Alive: timeout=5, max=97
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
応答 HTML:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /bundles/my/css/Aristo/Aristo.css
on this server.</p>
<hr>
<address>Apache/2.2.22 (Ubuntu) Server at my.local Port 80</address>
</body></html>
誰でもアドバイスできますか?
ありがとう