也试过了,依旧是显示No input file specified.,同样换成XAMPP的环境就能正常访问,是宝塔哪里还需要设置下吗?
.htacces文件里面的配置
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond $1 !^(about.html)
RewriteRule ^(.*)$ index.php/Index/$1 [QSA,PT,L]
</IfModule>
|