#28085 [NEW]: Unknown Page gives "No input file specified." instead of 404 Error page.
From: joshs at santsys dot com
Operating system: Windows 2003 Server
PHP version: 4.3.6
PHP Bug Type: IIS related
Bug description: Unknown Page gives "No input file specified." instead of 404 Error page.
Description:
------------
When you go to a page that does not exist, the error "No input file
specified." is displayed instead of the default or custom IIS error. The
IIS log shows that a HTTP 200 OK message is returned.
Reproduce code:
---------------
IIS Log Entry:
2004-04-21 04:21:24 10.1.1.251 GET /test.php - 80 - 10.1.1.140
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+1.0.3705)
200 0 0
Go to the page http://dhs.dixonusd.org/test.php to
view the error.
test.php is a nonexistent page.
Expected result:
----------------
Custom 404 error page:
http://dhs.dixonusd.org/test.html
Actual result:
--------------
No input file specified.
--
Edit bug report at http://bugs.php.net/?id=28085&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28085&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28085&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28085&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28085&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28085&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28085&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28085&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28085&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28085&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28085&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28085&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28085&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28085&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28085&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28085&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28085&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28085&r=float
Thread (2 messages)
- joshs at santsys dot com