Virtual Host Root Folder DOES exist, LiteSpeed doesn't think so

Discussion in 'Install/Configuration' started by tseven, Mar 9, 2010.

  1. tseven

    tseven New Member

    When trying to create a new virtual server or instantiate one from the php template I get the following error:

    Code:
    Please fix error: Virtual Host Root /home/folder/domain.com does not exist.
    The folder does in fact exist. I can copy the path and run a stat on it just fine.

    The folder and all files inside are owned by the same user and group the server is running under with normal permission. I even tried chmoding everything 775 out of desperation.

    My virtual host template has the following path settings:
    Code:
    Virtual Host Root: /home/folder/$VH_NAME
    Config File: $SERVER_ROOT/conf/$VH_NAME.xml
    Document Root: $VH_ROOT/public/
    Any suggestions or ideas on how to fix this will be appreciated.

    Thanks
  2. NiteWave

    NiteWave Administrator

    check if /home/folder/domain.com is readable by user "lsadm"

    admin console is running as process "admin_php" as lsadm
  3. tseven

    tseven New Member

    Ah that's probably it. lsadm does have a secondary group which is the file/folder owners group.

    So my website dir is owned by user "homer" group "homer" and lsadm has a secondary group of "homer".

    The root dir im currently storing the files is in /home/homer/www

    Does this mean i would need to chmod all the files/folders 775? Or would it be better move the web dir outside into something like /var/www ?

    Thank you for your reply.
  4. NiteWave

    NiteWave Administrator

    >Does this mean i would need to chmod all the files/folders 775?

    maybe not. for example,
    Document Root: $VH_ROOT/public/
    can be what you want.

Share This Page