v3.3.24 -> v4.0.5 update, lsws doesn't work anymore

Clockwork

Well-Known Member
#1
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:

mistwang

LiteSpeed Staff
#2
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 .
 

Clockwork

Well-Known Member
#3
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.
 

mistwang

LiteSpeed Staff
#4
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.
 

Clockwork

Well-Known Member
#5
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? ^
 
Top