阅读:1649回复:0
重写规则怎么改都失败
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 这样的话 No input file specified. 改RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] 内页一直是首页 比如打开连接www.baidu.com/reg.php应该是www.baidu.com/index.php/reg.php 结果是首页,要怎么破 |
|