Re: [请益]CodeIgniter 开启mod_rewrite失败

楼主: tkdmaf (皮皮快跑)   2016-07-16 00:33:20
※ 引述《arthas1107 (az)》之铭言:
: 已爬文但仍然无法解决,只好再发一篇请大家帮忙
: 环境
: RewriteEngine On
: RewriteBase /test
: RewriteCond %{REQUEST_FILENAME} !-f
: RewriteCond %{REQUEST_FILENAME} !-d
: RewriteRule ^(.*)$ index.php/$1 [L]
: 网络上查到的做法大都试过了,但是仍出现错误讯息
: Forbidden
: You don't have permission to access /test/index.php on this server.
: 麻烦大家看一下我有哪边做错了,感谢
我给你我的.htaccess的内容你直接整个贴上去试试看吧!
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|robots\.txt|$)
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

Links booklink

Contact Us: admin [ a t ] ucptt.com