RE: [PHP] open_basedir and safemode-ish things
| From: | Chris Cameron | Date: | Sat, 11 Aug 2001 04:21:35 +0000 |
| Subject: | RE: [PHP] open_basedir and safemode-ish things | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62244@lists.php.net to get a copy of this message | ||
So on a mailing list that developers run around on, no one can tell me
how to properly use open_basedir?
-----Original Message-----
From: Chris Cameron [mailto:chris@upnix.com]
Sent: Thursday, August 09, 2001 4:27 PM
To: php-general@lists.php.net
Subject: [PHP] open_basedir and safemode-ish things
I looked through the archives, and tried finding info in the PHP manual,
but haven't had much luck.
I'm looking for a way to restrict virtual host users to their specific
little directory by putting a <Directory> thing in my httpd.conf.
It looked like open_basedir should do the trick, but it didn't, and
obviously something's not quite right. My php.ini has:
safe_mode = off
safe_mode_exec_dir =
for safe mode stuff, while in a virtual host spot in my httpd.conf I
have
<Directory "/home/www/chris/www">
php_admin_value open_basedir /home/www/chris/www
</Directory>
This doesn't work. If anyone could let me know the proper format this is
suppose to take, I'd be most appreciative.
Thanks,
Chris