ID: 25287 Comment by: webmaster at iranculture dot org Reported By: guenter_doege at web dot de Status: Open Bug Type: IIS related Operating System: Windows 2k Server PHP Version: 4.3.3 New Comment:
I have experienced the same issue on my Win2K with the same configuration. I also tried different versions of PHP: 4.3.2 and 4.3.3RC4-dev but the problem is still persisted. But everything works fine with my WinXP-IIS5-PHP4.3.3RC4-dev. Both .php and .html ended urls show IIS 404 error page. My configuration in WinXP and Win2k are the same (also the same php.ini) Previous Comments: ------------------------------------------------------------------------ [2003-08-28 03:24:15] guenter_doege at web dot de 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 this bug report at http://bugs.php.net/?id=25287&edit=1