LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   v3.3.24 -> v4.0.5 update, lsws doesn't work anymore (http://www.litespeedtech.com/support/forum/showthread.php?t=3164)

Clockwork 07-09-2009 02:48 AM

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

mistwang 07-10-2009 12:50 PM

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 07-10-2009 12:54 PM

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 07-10-2009 12:59 PM

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 07-11-2009 02:10 PM

Quote:

Originally Posted by mistwang (Post 15928)
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? ^


All times are GMT -7. The time now is 11:21 AM.