Setting $SERVER_ROOT

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

  1. Amanda

    Amanda New 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 New Member

    So I have to have my websites within that directory?

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

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

    mistwang LiteSpeed Staff

  5. Amanda

    Amanda New 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/example.com on my server.

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

    On my server I can cd to ~/sites/example.com. 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 New Member

    pasth.JPG

    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/example.com.

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

    Amanda New Member

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

    Path for vhost root is not accessible: /sites/daviladev.com/

    Any idea?

Share This Page