Bug #3525: Strange php3_* configuration results while using .htaccess

From: Date: Thu, 17 Feb 2000 18:59:44 +0000
Subject: Bug #3525: Strange php3_* configuration results while using .htaccess
Groups: php.dev 
Request: Send a blank email to php-dev+get-15655@lists.php.net to get a copy of this message
From: pumuckel@metropolis.de Operating system: all PHP version: 3.0.14 PHP Bug Type: Misbehaving function Bug description: Strange php3_* configuration results while using .htaccess Hi, upgrading from 3.0.11 to 3.0.14 we runned into a strange configuration problem for all of the php3_* parameters. Since I've seen you've changed this code (mod_php3.c) I assume that you didn't check this out: Assume you have a config in httpd.conf in a virtual host like: <VirtualHost ANY.HOST> php3_include_path .:./inc/:/path/to/somewhere/inc/ php3_auto_prepend_file header.php3 ... </VirtualHost> If you _now_ have a .htaccess file somewhere in the document root of this vhost, 3.0.11 only has overwritten new parameters from within this .htaccess file. NOW it deletes _all_ defined php3_* parameters from the vhost and inserts just those which are present in the .htaccess file. E.g. if the .htaccess file contains php3_include_path /path/to/somewhere/else it will delete the php3_auto_prepend_file And I don't think that this is a good idea (all other php3 parameters are cleared as well, eg. logging parameters etc) Bug or Feature? Why isn't this change documented in the changelog, anyway? /mike

« previous php.dev (#15655) next »