LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   Setting $SERVER_ROOT (http://www.litespeedtech.com/support/forum/showthread.php?t=2410)

Amanda 10-21-2008 10:11 AM

Setting $SERVER_ROOT
 
Where can I change $SERVER_ROOT?

mistwang 10-21-2008 11:51 AM

$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.

Amanda 10-21-2008 11:55 AM

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?

mistwang 10-21-2008 11:57 AM

You can put your web site anywhere you want. you don't have to use
$SERVER_ROOT for the vhost root.

http://www.litespeedtech.com/support...:wiki:template

Amanda 10-21-2008 01:56 PM

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?

mistwang 10-21-2008 01:58 PM

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

Amanda 10-21-2008 02:51 PM

1 Attachment(s)
Attachment 50

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

Amanda 10-21-2008 05:45 PM

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

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

Any idea?


All times are GMT -7. The time now is 07:40 PM.