php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2926 Settings in VirtualHosts
Submitted: 1999-12-06 21:19 UTC Modified: 2005-09-02 07:57 UTC
From: roland at virtual dot ch Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.0 OS: FreeBSD 3.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: roland at virtual dot ch
New email:
PHP Version: OS:

 

 [1999-12-06 21:19 UTC] roland at virtual dot ch
PHP4b3 Module safe_mode

This settings, used in the server-config on a couple of
Virtual-Hosts with different paths, keeping their value
in the Apache-Daemon even when accessed through another
VirtualHost with different values:

php_admin_value doc_root /web/...
php_admin_value open_basedir /web/...
php_admin_value include_path .:/web/...

You wont see the problem right after a HUP, but if you
access one VirtualHost many times all the daemons have
those variables in them and all the other hosts only
getting those (badly wrong) values then.

Tried many things to get this to work the last 3 days
but its a reproducable and not easy discovered bug.
Finally I moved everything back to the common docroot,
the above settings are now in a common <Directory> and
of course for all PHP-enabled Hosts the same.

Thanks for your time :)

Roland

btw:
sorry for the submission as an 'Earlier'-Version,
I cant find the form for PHP4 buggies :)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-02 07:57 UTC] sniper@php.net
Fixed long time ago. 
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC