0
我想白色標籤的Zend框架,所以我在應用程序中創建文件夾稱爲網站。400錯誤的請求與CSS .htaccess規則
此網址:http://local.branch.test.com/site-css/1/layout.css返回400錯誤請求。
以下的規則:
RewriteRule ^site-css/([0-9]+)/(.*)$ ../application/site/$1/design/css/$2 [L]
完整的.htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php
RewriteRule ^site-css/([0-9]+)/(.*)$ ../application/site/$1/design/css/$2 [L]
想法?
does not work,apache log說: [Thu Jul 22 14:15:06 2010] [error] [client 127.0.0.1]請求中的URI無效GET /site-css/1/layout.css? HTTP/1.1 – azz0r 2010-07-22 13:14:41