Hi,

I'm using the FreeBSD Port   mod_php4-4.3.1
I have lots of name-based virtual sites which all have:
   php_admin_value open_basedir "/domains/sitename.com/
   php_admin_value safe_mode "1"

so they can't use PHP to browse around the server.

I do however set a global alias:
   Alias /admin "/usr/local/www/data/admin/"

which allows each site to goto the url:  http://www.sitename.com/admin
and control a couple of their settings and view stats etc...
Unfortunately, any PHP files in the /admin directory inherit
the php_admin_value from the domain calling them...
Can I turn off safe_mode and open_basedir for my /admin scripts?

This DOESN"T work:

   <Directory "/usr/local/www/data-dist/admin">
       php_admin_value open_basedir "none"
       php_admin_value safe_mode "0"
   </Directory>

HELP PLEASE!

Thanks,
Andrew.

_________________________________________________________________
ninemsn Extra Storage comes with McAfee Virus Scanning - to keep your Hotmail account and PC safe. Click here http://join.msn.com/



-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to