open_basedir and safemode-ish things
| From: | Chris Cameron | Date: | Thu, 09 Aug 2001 22:26:55 +0000 |
| Subject: | open_basedir and safemode-ish things | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62092@lists.php.net to get a copy of this message | ||
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