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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > v3.3.24 -> v4.0.5 update, lsws doesn't work anymore

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2009, 02:48 AM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
Default v3.3.24 -> v4.0.5 update, lsws doesn't work anymore

2009-07-09 11:43:24.771 [ERROR] [config:vhost:Example] Path is in the access denied list:/etc/lsws/DEFAULT/html/
2009-07-09 11:43:24.771 [ERROR] [config:vhost:Example] configuration failed!

suggestions?

I'm running lsws on debian etch, everything worked fine until the update.

p.s. I've started lsws through /etc/lsws/bin/lshttpd.3.3.24 for now

Last edited by Clockwork; 07-09-2009 at 03:34 AM..
Reply With Quote
  #2  
Old 07-10-2009, 12:50 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
It is bad idea to install lsws under /etc directory, you can edit the configuration file lsws/conf/httpd_config.xml to remove /etc from access denied directory list.

recommended location is /usr/local/lsws or /opt/lsws .
Reply With Quote
  #3  
Old 07-10-2009, 12:54 PM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
hello mistwang,

I'm not that experienced with that stuff, could you explain me why it's a bad idea? apache2 gets installed to the /etc location by default when you install it through apt-get or aptitude.

Could you guide me how I can switch the installation folder without losing my configuration?

Thanks.
Reply With Quote
  #4  
Old 07-10-2009, 12:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You need to stop LSWS first.
Then you can move the lsws directory to some where else. "grep" you configuration files for "/etc/lsws", if found any, change it to the new location. Then try to start LSWS from the new location.
Reply With Quote
  #5  
Old 07-11-2009, 02:10 PM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
Quote:
Originally Posted by mistwang View Post
You need to stop LSWS first.
Then you can move the lsws directory to some where else. "grep" you configuration files for "/etc/lsws", if found any, change it to the new location. Then try to start LSWS from the new location.
and why it is a bad idea to install lsws into the /etc directory? ^
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 02:58 AM.



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