Re: Virtual Domain Security
| From: | Brian 'Bex' Huff | Date: | Mon, 19 Aug 2002 22:56:10 +0000 |
| Subject: | Re: Virtual Domain Security | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15354@lists.php.net to get a copy of this message | ||
Fear not... you can easily do this with virtual domains in Apache:
<VirtualHost bla.bla.bla.bla>
ServerName blabla
DocumentRoot /web/site1
php_admin_value open_basedir /web/site1
</VirtualHost>
You might also wish to disable the functions 'ini_alter' and 'ini_set' so admins cant be too naughty...
--
Brian 'Bex' Huff
bex@stellent.com
Phone: 952-903-2023
Fax: 952-829-5424
> I would like to run virtual domains, but how do I secure them so those
> admins will not be able to access the rest of the files on my system...?
>
> If anyone has had experince with this it would be greatly appreciated...
>