#21320 [Fbk->Opn]: open_basedir - not working
| From: | sniper@php.net | Date: | Sat, 18 Jan 2003 04:13:14 +0000 |
| Subject: | #21320 [Fbk->Opn]: open_basedir - not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30439@lists.php.net to get a copy of this message | ||
ID: 21320
Updated by: sniper@php.net
Reported By: picklezz@hotmail.com
-Status: Feedback
+Status: Open
Bug Type: Filesystem function related
Operating System: FreeBSD 4.7
PHP Version: 4.2.3
Previous Comments:
------------------------------------------------------------------------
[2003-01-02 15:13:40] picklezz@hotmail.com
Yes /www is a symblink to /home/wwwroot
------------------------------------------------------------------------
[2003-01-02 14:07:58] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Are /www/www.freshbsd.net/ or /home/wwwroot/192.168.0.1/ symlinks?
------------------------------------------------------------------------
[2003-01-01 13:33:15] picklezz@hotmail.com
I got this configuration for one of my vhosts in apache 1.3.27:
<VirtualHost *>
DocumentRoot /www/192.168.0.1
ServerName 192.168.0.1
ErrorLog /var/log/httpd/192.168.0.1-error_log
CustomLog /var/log/httpd/192.168.0.1-access_log common
php_value open_basedir /home/wwwroot/192.168.0.1/
</VirtualHost>
but when i go in on /home/wwwroot/192.168.0.1/index.php
with this script:
<?
include("/www/www.freshbsd.net/index.php");
?>
it will include the page anyway...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21320&edit=1