Re: [PHP-INST] Dynamically restrict accesses to virtual hosts'documentroots

2002-01-17 Thread Ole Tange
On Thu, 17 Jan 2002, Rasmus Lerdorf wrote: > open_basedir I have looked at open_basedir and it seems not to solve my problem. I might be wrong, but could you please include an example where open_basedir is dynamically set to $DOCUMENT_ROOT? E.g. to make the below work (Setting it to '.' will mak

[PHP-INST] Dynamically restrict accesses to virtual hosts' documentroots

2002-01-16 Thread Ole Tange
I have a lot of virtual hosts. They are made with rewrite-engine so they do not each have a section. I would like for PHP to restrict access from PHP to $DOCUMENT_ROOT. Also I would like to have / mean $DOCUMENT_ROOT. This means that if http://www.example.com/foo/bar.php opens a file called "/f