Re: PHP Patch open_basedir for dynamic virtualhost

From: Date: Fri, 09 Mar 2007 12:51:29 +0000
Subject: Re: PHP Patch open_basedir for dynamic virtualhost
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-250168@lists.php.net to get a copy of this message
DoM wrote: > Hi all, > it's a lot of time that i am trying to let Jason Greene open_basedir > patch work with apache massive virtualhost. > > This is direct link to patch when it was developed: > > http://www.phpbuilder.com/lists/php-developer-list/2000101/0994.php > > This is a FreeBSD port more recent with same code: >  /E9ì5.t > ª­A-nhttp://lists.freebsd.org/pipermail/freebsd-ports-bugs/2005-September/066983.html > > If i set to open_basedir directive (inside virtualhost config section) > value VIRTUAL_DOCUMENT_ROOT, it works but i am not able to add static > path like /tmp/ > > This is an example: > > VirtualDocumentRoot /var/www/php.net/%1 > php_admin_value open_basedir VIRTUAL_DOCUMENT_ROOT > > user test.php.net is chrooted for php scripts in his homedir but he > cannot write temporary files inside /tmp/ > > I tried with value %1; VIRTUAL_DOCUMENT_ROOT:/tmp/ and more but no way. > > These are my apps version: > > OS: Debian Sarge 3.1 > Server version: Apache/2.0.54 (mpm-prefork pacchettizzata) > PHP: 4.4.6 (Source) & 5.2.1 (Source) > > Any help will be useful and appreciated. > Does anyone know something about that ? Regards

« previous php.general (#250168) next »