Zend mod重写不起作用

时间:2010-01-13 03:37:55

标签: zend-framework

Zend mod重写似乎无法正常工作。 mysite/index.php/controller/action有效,所以它必须是mod-rewrite。我使用正在加载的phpinfo进行了验证。

这是我的.htacess文件:

SetEnv APPLICATION_ENV development

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

1 个答案:

答案 0 :(得分:4)

你的.htaccess被叫了吗?检查主vache配置,AllowOverride为此vhost设置为All

相关问题