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

  1. art182

    art182 Member

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

    in apache for example :
    <Directory /home/test>
    php_admin_value open_basedir /home/test
    <Directory /home/test2>
    php_admin_value open_basedir /home/test2
    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