PHP 4.0 Bug #7303: <Directory> "overflow"
| From: | staun at sunsite dot auc dot dk | Date: | Wed, 18 Oct 2000 08:51:21 +0000 |
| Subject: | PHP 4.0 Bug #7303: <Directory> "overflow" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35373@lists.php.net to get a copy of this message | ||
From: staun@sunsite.auc.dk
Operating system: Solaris8
PHP version: 4.0.3pl1
PHP Bug Type: Apache related
Bug description: <Directory> "overflow"
At SunSITE.dk we host many different projects which some of use PHP. These seperate projects each
want to use their own prepend directives, and some we want to be more strict on than other. etc.
This results in <Directory> directives like this:
<Directory /mnt/www-docs/www-docs/php-share/phorum>
php_admin_flag safe_mode on
php_admin_value open_basedir .:/pack/apache/local/php-safe/phorum/conf
php_admin_flag sql_safe_mode off
</Directory>
etc.
The problem is that we had periodic faults where directives for f.eks.
/lgdc/ would apply themselves to our document root and other sub projects. Like the configuration
"overflowed" from subdirectory. As it is a periodic problem it is hard to reproduce, but
we stopped this behaviour by adding a <Directory> directive for /mnt/www-docs/.
It seems like the configuration which are applied to the php engine in one apache process are not
reset if there is no other directive for the new dir.
--
Edit Bug report at: http://bugs.php.net/?id=7303&edit=1