Bug #1507: Problems with symlink in open_basedir
| From: | koch at n-e-t dot de | Date: | Tue, 08 Jun 1999 10:29:15 +0000 |
| Subject: | Bug #1507: Problems with symlink in open_basedir | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6706@lists.php.net to get a copy of this message | ||
From: koch@n-e-t.de
Operating system: Solaris 2.5.1
PHP version: 3.0.7
PHP Bug Type: Other
Bug description: Problems with symlink in open_basedir
When using "php3_open_basedir /somepath_with_symlink" in the virtual host section of
apache's httpd.conf, access
to files within this path (e.g. fopen) is not possible. When specifying this path without the
symlink, access to files is possible.
Extract from httpd.conf:
<VirtualHost eule1.n-e-t.de:80>
...
AddType application/x-httpd-php3 .php3
Php3_Safe_Mode on
...
Php3_Doc_Root /NET/www/eule1.n-e-t.de/doc
Php3_Open_Basedir /NET/www/eule1.n-e-t.de/doc (NO ACCESS POSSIBLE)
( BUT)
Php3_Open_Basedir /ldsk/fs4/www/eule1.n-e-t.de/doc (ACCESS POSSIBLE)
...
</VirtualHost>
Configured Modules:
mysql, apache
There is no php.ini file in use.
/NET is a symbolic link to /ldsk/fs4.