From:             guenter_doege at web dot de
Operating system: Windows 2k Server
PHP version:      4.3.3
PHP Bug Type:     IIS related
Bug description:  404 Error blank page (2nd try)

Description:
------------
This behaviour has already been reported in bug #4286, but was closed due
to missing user feedback.

When running PHP on IIS 5.0 and requesting a non-existing page, you get
back a blank page. In the IIS web-server log, the request is logged with
http status 200 instead of 404. Requesting pages that are not assigned to
PHP (like .html) will produce the standard 404 error page. 

Configuration:
* Internet information Server 5.0 running on Win/2k server
* PHP 4.3.3 installed as ISAPI module and assigned only to .php files
* IIS is still set to it's standard handling for the 404 error (btw, it
does not help to set this to "default" which means showing the browsers
built-in 404 error page instead of the IIS error page)

Reproduce code:
---------------
http://localhost/blah.html

--> 404 error page is shown and 404 status is written to the webserver
log


http://localhost/blah.php
--> Blank Page is shown, status 200 is written to the webserver log


-- 
Edit bug report at http://bugs.php.net/?id=25287&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25287&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25287&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25287&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25287&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25287&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25287&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25287&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25287&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25287&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25287&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25287&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25287&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25287&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25287&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25287&r=gnused

Reply via email to