Download
Blog
Wiki
Forum
Store
Contact
Home
Products
Web Server
Load Balancer
LiteSpeed SAPI
Solutions
Web Hosting
Online Gaming
PHP Application
Rails Hosting
Case Studies
Resources
Documentation
White Papers
Benchmarks
Testimonials
FAQ
HOW-TOs
Support
Services
Wiki
Forum
Company
About
News
Blog
Management
Partners
Careers
Support
Services
Wiki
Forum
User Name
Password
Remember Me?
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LiteSpeed Support Forums
>
LiteSpeed Web Server
>
Install/Configuration
>
Setting $SERVER_ROOT
Thread Tools
Display Modes
#
1
10-21-2008, 10:11 AM
Amanda
Member
Join Date: Oct 2008
Posts: 12
Setting $SERVER_ROOT
Where can I change $SERVER_ROOT?
Amanda
View Public Profile
Send a private message to Amanda
Find all posts by Amanda
#
2
10-21-2008, 11:51 AM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,603
$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.
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
#
3
10-21-2008, 11:55 AM
Amanda
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?
Amanda
View Public Profile
Send a private message to Amanda
Find all posts by Amanda
#
4
10-21-2008, 11:57 AM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
#
5
10-21-2008, 01:56 PM
Amanda
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?
Amanda
View Public Profile
Send a private message to Amanda
Find all posts by Amanda
#
6
10-21-2008, 01:58 PM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You have to replace "~" with the real user home directory.
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Switch to Linear Mode
Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General
News
Use Cases
LiteSpeed Web Server
General
Install/Configuration
LiteSpeed Cache
Feedback/Feature Requests
Bug Reports
LSWS 4.1 Release
LiteSpeed Load Balancer
General
LiteSpeed Anti-DDoS
Proxy Service
Popular web applications
Word Press
vBulletin Forum
Joomla
Magento
External Applications
Apache Migration/Compatibility
Ruby/Rails
PHP
CGI/Perl/Python
Java JSP/Servlet
All times are GMT -7. The time now is
03:58 AM
.
-
Archive
-
Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved.
Privacy Policy
.