取消index.php的.htaccess文件为何无效?
看手册上是创建.htaccess文件 然后写入RewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php/$1
我用的是windows下的apache
rewrite应该是这行打开吧:LoadModule rewrite_module modules/mod_rewrite.so
虚拟主机放在测试端口8002下面
访问http://localhost:8002/manage/user 是404
访问http://localhost:8002/index.php/manage/user就是正常的
求助
.htaccess文件放在网站根目录下面
页:
[1]