PHP 4.0 Bug #7191 Updated: php_admin_* does not work in VirtualHost
| From: | brianlmoon@php.net | Date: | Mon, 06 Nov 2000 03:29:46 +0000 |
| Subject: | PHP 4.0 Bug #7191 Updated: php_admin_* does not work in VirtualHost | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37220@lists.php.net to get a copy of this message | ||
ID: 7191
Updated by: brianlmoon
Reported By: brianlmoon@iname.com
Status: Closed
Bug Type: PHP options/info functions
Assigned To:
Comments:
Actually, the code fix in 4.0.3pl1 that fixed the use of admin flags in .htaccess files. Close it
Previous Comments:
---------------------------------------------------------------------------
[2000-11-05 11:19:07] stas@php.net
Please check latest version from snaps.php.net and report if it still happens.
---------------------------------------------------------------------------
[2000-10-13 13:18:59] brianlmoon@iname.com
Create two VitualHosts in Apache:
<VirtualHost 208.170.103.XXX>
ServerName dealmac.com
DocumentRoot /www/virthost/dealmac
php_admin_flag asp_tags Off
php_admin_value include_path /www/virthost/dealmac
php_admin_value auto_prepend_file /www/virthost/dealmac/include/prepend.php
</VirtualHost>
<VirtualHost 208.170.103.XXX>
ServerName dealnews.com
DocumentRoot /www/virthost/dealnews
php_admin_flag asp_tags On
php_admin_value include_path /www/virthost/dealnews
php_admin_value auto_prepend_file /www/virthost/dealnews/include/prepend.php
</VirtualHost>
phpinfo() in both yield:
asp_tags Off
include_path /www/virthost/dealmac
auto_prepend_file /www/virthost/dealmac/include/prepend.php
I see this in the ChangeLog:
- Fixed a problem that allowed users to override admin_value's and admin_flag's (Zeev)
This is not in .htaccess, this is in httpd.conf.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7191