Topic on Manual talk:Short URL/Page title -- Windows & Apache without 403 on Special Pages

A simple way to solve "no input file specified"

1
Wujx3433 (talkcontribs)

IIS aspect:

Find your php.ini file, and search

;cgi.force_redirect = 1

change it into

cgi.force_redirect = 0

(attention, no semicolon).


Apache aspect:

It is easier to solve than IIS.

Just add an question mark after index.php in .htaccess file, change it into

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

This problem may be due to a wrong suffix name resolution of Apache.

References: https://blog.csdn.net/wanganji5252/article/details/81782074

Reply to "A simple way to solve "no input file specified""