Open_basedir

Discussion in 'Apache Migration/Compatibility' started by art182, Jun 5, 2007.

  1. art182

    art182 New Member

    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: Jun 5, 2007
  2. mistwang

    mistwang LiteSpeed Staff

    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.

Share This Page