Re: open_base_dir apache directive and symlink directories
| From: | Jason Wong | Date: | Tue, 02 Jul 2002 15:48:41 +0000 |
| Subject: | Re: open_base_dir apache directive and symlink directories | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104943@lists.php.net to get a copy of this message | ||
On Tuesday 02 July 2002 23:44, Dave wrote:
> am I correct in assumnig the following will not work;
>
> user directory
> /usr/home/joeuser
> symlink to document directory
> /usr/home/joeuser/www -> /usr/local/www/data/joeuser
> document directory
> /usr/local/www/data/joeuser
>
> in httpd.conf
> php_admin_value open_base_dir /usr/home/joeuser
>
> this will not allow joeuser to access files in the
> /usr/local/www/data/joeuser tree correct?
Try it and see? Apache has a directive FollowSymLinks, not sure whether
default is on or off, set it explicitly to make sure.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Tuesday After Lunch is the cosmic time of the week.
*/