#49375 [Opn->Csd]: Mass Virtual Hosting Enhancements ?
| From: | jani@php.net | Date: | Wed, 26 Aug 2009 15:11:21 +0000 |
| Subject: | #49375 [Opn->Csd]: Mass Virtual Hosting Enhancements ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141562@lists.php.net to get a copy of this message | ||
ID: 49375
Updated by: jani@php.net
Reported By: hervec at gmail dot com
-Status: Open
+Status: Closed
-Bug Type: Safe Mode/open_basedir
+Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 5.2.10
New Comment:
To have per-host / per-dir settings, just upgrade to PHP 5.3 which
already has this feature set for FastCGI.
Previous Comments:
------------------------------------------------------------------------
[2009-08-26 15:07:27] hervec at gmail dot com
Description:
------------
I want to be able to set open_basedir value with apache environmental
variable. This can permit to do dynamic restriction, like restrict acces
to the DOCUMENT_ROOT value
There was plenty of patches before, who never come to vanilla...
Reproduce code:
---------------
php_admin_value open_basedir "$DOCUMENT_ROOT"
or if you prefer
php_admin_value open_basedir "$SERVER['DOCUMENT_ROOT']"
Expected result:
----------------
restrict access to file in DocumentRoot
Actual result:
--------------
not working
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49375&edit=1