Discussion in 'Install/Configuration' started by Amanda, Oct 21, 2008.

  1. Amanda

    Amanda Member

    Where can I change $SERVER_ROOT?
  2. mistwang

    mistwang LiteSpeed Staff

    $SERVER_ROOT is the directory where LSWS was installed to. usually it is /opt/lsws or /usr/local/lsws, it is fixed and cannot be changed via configuration.

    If you install LSWS to other directory, its value will change accordingly.
  3. Amanda

    Amanda Member

    So I have to have my websites within that directory?

    /usr/local/lsws/sites/ is where Litespeed wants me to have my site.

    ~/sites/ is where my site actual is. How can I resolve this?
  4. mistwang

    mistwang LiteSpeed Staff

  5. Amanda

    Amanda Member

    Thanks so much for all of your help. I am sooo close to having a functional server! :)

    My last little bug is this:

    My sites are located at ~/sites/ on my server.

    When I enter /sites/ in Virtual Host Root it tells me the path is not created, please create it manually.

    On my server I can cd to ~/sites/ It's absolutely there. I don't get it. Any ideas?
  6. mistwang

    mistwang LiteSpeed Staff

    You have to replace "~" with the real user home directory.
  7. Amanda

    Amanda Member


    The attachment is exactly what I am attempting to do. Either I put ~/sites and it tells me it doesn't exist or I put sites and it gives me the error message above.

    I don't have a users directory. I just have ~/sites/

    Also, this is the error I get when I use /sites/:
    *path /sites/ does not exist. Please create manually.
    Edit/Delete Message
    Last edited: Oct 21, 2008
  8. Amanda

    Amanda Member

    I'm getting so much closer! Now it's a permissions issue:

    Path for vhost root is not accessible: /sites/

    Any idea?

Share This Page