我要调试我的项目在Zend框架蚀。Zend调试器已经运行bud我现在有问题的调试工具,在日食。它给予一个额外获得parametrs和项目Zend不喜欢它。

我试图谷歌和找到

我修改的 .要 文件但不是使它的工作。

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)?(start_debug=1.*)$ index.php?$2 [L]
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

不知道,如果它完全正确的,因为改写规则 页面 有一些我未知的标志,我的Apache不工作。

链接其蚀使是

http://localhost/?debug_start_url=http://localhost/&debug_session_id=1007&start_debug=1&debug_host=127.0.0.1&debug_no_cache=1229359621130&debug_port=10000&send_sess_end=1&original_url=http://localhost/&debug_stop=1

有帮助吗?

解决方案 3

与实际Zend框架1.9.6和Zend调试它工作而无需任何特殊的改变

其他提示

我成功地使用调试器和我的htaccess看起来像这样

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
    RewriteCond %{REQUEST_FILENAME} (logs|library|application|config)
    RewriteRule ^(.*)$ index.php
</IfModule>

这基本上是说,如果该URL不会导致存在或然后通过文件的index.php我去(也阻止了日志,库,应用程序和配置文件夹,因为有时他们是在文档根上的目录我的一些由于服务器限制项目)。还没有上到目前为止的任何项目失败了我。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top