php出现的No input file specified

 
更多

打开 .htaccess

方法一:

非nts模式:

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

nts模式:

RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]

方法二:

完整代码:

<IfModule mod_rewrite.c>
  Options +FollowSymlinks -Multiviews
  RewriteEngine On
 
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteBase /index.php
  RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>

打赏

本文固定链接: https://www.cxy163.net/archives/2565 | 绝缘体

该日志由 绝缘体.. 于 2025年06月30日 发表在 未分类 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: php出现的No input file specified | 绝缘体
关键字: , , , ,

php出现的No input file specified:等您坐沙发呢!

发表评论


快捷键:Ctrl+Enter