Setting $SERVER_ROOT

mistwang

LiteSpeed Staff
#2
$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
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?
 
#5
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?
 
#7
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:
Top