1
我已经使用akrabat.com/zend-framework-tutorial/完成了Zend Framework的第一步。 Demo-App工作正常,但CSS。 我认为我的重写规则是错误的。所有的HREF样子:重写规则不起作用
- /~cm/zf-tutorial/public/index.php/index/edit/id/1
- /~cm/zf-tutorial/public/index.php/css /site.css
的是的.htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteBase/
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php
有人可以给我一个提示,怎么改?
它是我自己的错。我已经安装了一个新的apache2,并没有在httpd.conf中用index.php完成DirectoryIndex的设置;-) 感谢您的提示! – former 2009-05-31 13:29:27