我使用这个index.php文件删除了.htaccess:
RewriteEngine on
RewriteBase /job
RewriteCond $1 !^(index\.php|img|table-images|robots\.txt|css|fonts|js|uploads)
RewriteRule ^(.*)$ index.php/$1 [L]
现在无法使用PhpEd进行调试。PhpEd需要访问根文件夹中的dbg-wizard.php文件,但是它已经无法访问了!
发布于 2015-02-24 04:24:43
将代码更改为:
RewriteEngine on
RewriteBase /job/
RewriteCond $1 !^(index\.php|img|table-images|robots\.txt|css|fonts|js|uploads|dbg-wizard\.php)
RewriteRule ^(.*)$ index.php/$1 [L]
将dbg-wizard.php
添加到要跳过的内容列表中。
https://stackoverflow.com/questions/28687844
复制相似问题