apache开启php的伪静态模式,出现No input file specified

Thinkphp教程中提供的APACHE伪静态模式出现No input file specified,

打开.htaccess 在RewriteRule 后面的index.php教程后面添加一个“?”

完整代码如下.htaccess

RewriteEngine on

RewriteCond $1 !^(index.php|images|robots.txt)

RewriteRule ^(.*)$ /index.php?/$1 [QSA,PT,L]

posted on 2023-08-18 11:08  专注30  阅读(15)  评论(0编辑  收藏  举报

导航