Re: PHP Patch open_basedir for dynamic virtualhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
> http://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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux