Not includes httpd.conf

Discussion in 'Apache Migration/Compatibility' started by ahmet, Oct 27, 2007.

  1. ahmet

    ahmet New Member

    Hello .

    I am using cpanel box but litespeed not includes my configuration file.

    There is a error bellow :

    PHP:
    file /usr/local/apache/conf/httpd.conf does not existPlease create manually.

    I installled this with root and make User/Group to nobody:nobody
  2. ahmet

    ahmet New Member

    I realize it cant read any files from my server.

    Is the problem about user and usergroup ?

    root 27496 0.0 0.0 4384 1388 ? S 23:29 0:00 ./lshttpd
    nobody 27498 0.0 0.0 4720 1212 ? S 23:29 0:00 ./lshttpd
    nobody 27499 0.0 0.0 4432 1164 ? S 23:29 0:00 ./lshttpd
  3. Gary

    Gary New Member

    I followed the installation and 'using under CPanel' instructions and get the same message as ahmet when I try to enter the httpd path in the LSWS control panel 'Using Apache Configuration File' area.

    I'm running CENTOS Enterprise 4.5 i686. My httpd.conf, which when I try to submit gives me the error message noted by ahmet, is at etc/htttpd/conf/httpd.conf.

    LSWS is installed at opt/lsws. It seems to expect the httpd.conf to be in that directory and doesn't read anything outside of the directory.

    I copied the httpd.conf into the LSWS folder and the path was accepted however, none of the virtual host info is as shown in the file, i.e., it picks up the domain name however appends port 8523 or 8160, nether of which were entered or used by me, to the domain ip address.

    Is httpd.conf supposed to be copied into a location in the LSWS folder?

    Also, if I am able to successfully install using my current httpd.conf file, will all the httpd.conf virtual host information be used or do I need to create new named based virtual hosts in LSWS control panel?
  4. mistwang

    mistwang LiteSpeed Staff

    Right now, readable permission by nobody is required by the LSWS web admin console. We will remove that restriction.
    For Now, you can manually change lsws/conf/httpd_config.xml to use /etc/httpd/conf/httpd.conf.

Share This Page