From: webmaster at cyberdogtech dot com Operating system: Windows Server 2003 PHP version: 5.0.4 PHP Bug Type: IIS related Bug description: PHP Windows Installer does not set Verify File Exists for IIS 6.
Description: ------------ I discovered this bug while using the PHP Windows Installer with 5.0.4 under IIS6 on Windows Server 2003 SP1. The installer adds the ISAPI extension to IIS for .php files, linking them to php-cgi.exe. The problem is, it does not set the option of "Verify that File Exists." This option causes IIS to validate the presence of the requested file. Without it set, as it stands now, php will always return an html page even for non-existent files! For example if I request www.website.com/nothing.php (a file which doesn't exist), PHP will still return empty HTML tags instead of the usual 404. By activating this IIS option, however, a 404 is returned properly instead of invoking PHP on the missing file name. -- Edit bug report at http://bugs.php.net/?id=33073&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33073&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33073&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33073&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33073&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33073&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33073&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33073&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33073&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33073&r=support Expected behavior: http://bugs.php.net/fix.php?id=33073&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33073&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33073&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33073&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33073&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33073&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33073&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33073&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33073&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33073&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33073&r=mysqlcfg