[PHP-DEV] PHP 4.0 Bug #7191 Updated: php_admin_* does not work in VirtualHost From: stas <email protected>
Date: 11/05/00

ID: 7191
Updated by: stas
Reported By: brianlmoon <email protected>
Status: Feedback
Bug Type: PHP options/info functions
Assigned To:
Comments:

Please check latest version from snaps.php.net and report if it still happens.

Previous Comments:
---------------------------------------------------------------------------

[2000-10-13 13:18:59] brianlmoon <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>