1
我使用Zend框架(不是完整版本,只是一些组件),但我有一个小问题。我没有开发我会给予支持的软件。当我试图安装,第一页重定向,直到它打破我的服务器:http://localhost/software/manager/index/index/index/index/index/index/index/index/index/index/index/index/index/index/index/index/index/index/index/index
...无限重定向循环与.htaccess
那么我看着所有的代码,并不能找出什么是错的。这里是我的代码:
的.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ bootstrapClass.php [NC,L]
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ public/$1 [L]
php_flag magic_quotes_gpc off
php_flag register_globals off
php_value session.auto_start 0
Options -Indexes
遗憾的响应晚了,但我不在身边任何技术设备的一些天(是的,我没不知道怎么样)。好吧...实际上它没有工作或不明白(我想我没有明白)。我想:!(。*)! '的RewriteCond%{REQUEST_URI}^/公/ 的RewriteCond%{} REQUEST_FILENAME -f 重写规则^ $公共/ $ 1 [L] 和 的RewriteCond%{} REQUEST_FILENAME -f RewriteRule ^(。*)$ public/$ 1 [L]' 但我仍然有相同的结果。再次感谢。 – codewalker