Open_basedir

#1
Hello. How to set up open_basedir singly for every vhost ?

in apache for example :
Code:
<Directory /home/test>
php_admin_value open_basedir /home/test
</Directory>

<Directory /home/test2>
php_admin_value open_basedir /home/test2
</Directory>
but where can I do that in Litespeed ?

or how else can I restrict access for other vhosts ( via PHP - lsapi ) ?

(sorry for my english)
 
Last edited:

mistwang

LiteSpeed Staff
#2
If you use LiteSpeed web console to configure your vhost, just put those directives in "Apache style configuration" box. Consider using PHP suEXEC together for better security.

If you use LiteSpeed with hosting control panels, it works by default, no additional configuration required.
 
Top