Discussion in 'Install/Configuration' started by Amanda, Oct 21, 2008.
Where can I change $SERVER_ROOT?
$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.
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?
You can put your web site anywhere you want. you don't have to use
$SERVER_ROOT for the vhost root.
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?
You have to replace "~" with the real user home directory.
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.
I'm getting so much closer! Now it's a permissions issue:
Path for vhost root is not accessible: /sites/daviladev.com/
Separate names with a comma.