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

Discussion in 'General' started by Clockwork, Jul 9, 2009.

  1. Clockwork

    Clockwork Well-Known Member

    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: Jul 9, 2009
  2. mistwang

    mistwang LiteSpeed Staff

    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 .
  3. Clockwork

    Clockwork Well-Known Member

    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?

  4. mistwang

    mistwang LiteSpeed Staff

    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.
  5. Clockwork

    Clockwork Well-Known Member

    and why it is a bad idea to install lsws into the /etc directory? ^

Share This Page