From: bart dot vanbrabant at zoeloelip dot be Operating system: Linux PHP version: 5.0.4 PHP Bug Type: Feature/Change Request Bug description: fastcgi htaccess scanning
Description: ------------ This patch [1] adds support to the php fast-cgi interface to scan .htaccess files. All directories from the document root to the directory where the script is located will be scanned for an .htaccess file, if that file contains php_value or php_flag then these values will be parsed. This patch can be changed a bit, it will change all config values it finds. If each directory contains the same directive it will be altered each time. It could be improved by storing them first in a hashtable but it that has an overhead too. I think the current implementation will give the best performance. You can set the environmental variable PHP_SCAN_HTACCESS to 1 or on now to enable it. It can handle \n, \r or \r\n at the end of a line. [1] http://files.zoeloelip.be/fast-cgi.diff -- Edit bug report at http://bugs.php.net/?id=34325&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34325&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34325&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34325&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34325&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34325&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34325&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34325&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34325&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34325&r=support Expected behavior: http://bugs.php.net/fix.php?id=34325&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34325&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34325&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34325&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34325&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34325&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34325&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34325&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34325&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34325&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34325&r=mysqlcfg
