LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Setting $SERVER_ROOT

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2008, 10:11 AM
Amanda Amanda is offline
Member
 
Join Date: Oct 2008
Posts: 12
Default Setting $SERVER_ROOT

Where can I change $SERVER_ROOT?
Reply With Quote
  #2  
Old 10-21-2008, 11:51 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
$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.
Reply With Quote
  #3  
Old 10-21-2008, 11:55 AM
Amanda Amanda is offline
Member
 
Join Date: Oct 2008
Posts: 12
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?
Reply With Quote
  #4  
Old 10-21-2008, 11:57 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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
Reply With Quote
  #5  
Old 10-21-2008, 01:56 PM
Amanda Amanda is offline
Member
 
Join Date: Oct 2008
Posts: 12
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?
Reply With Quote
  #6  
Old 10-21-2008, 01:58 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You have to replace "~" with the real user home directory.
Reply With Quote
  #7  
Old 10-21-2008, 02:51 PM
Amanda Amanda is offline
Member
 
Join Date: Oct 2008
Posts: 12
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 by Amanda; 10-21-2008 at 02:54 PM..
Reply With Quote
  #8  
Old 10-21-2008, 05:45 PM
Amanda Amanda is offline
Member
 
Join Date: Oct 2008
Posts: 12
I'm getting so much closer! Now it's a permissions issue:

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

Any idea?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:00 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.