PDA

View Full Version : How use httpd.conf


aalves@eapps.com
08-21-2007, 10:14 AM
Its is posible to use directly httpd.conf file without using httpd_config.xml or using less as posible.
i want to use my httpd.conf file is that posible?

Regards, Adrian.-

mistwang
08-21-2007, 10:17 AM
Whether to use httpd.conf is configured in httpd_config.xml. The configurations need to changed in httpd_config.xml is minimum.

Are you using a hosting control panel?

aalves@eapps.com
08-21-2007, 10:36 AM
yes vituozzo control panel

aalves@eapps.com
08-21-2007, 10:39 AM
What we are trying to do is have litespeed use the htttpd.conf file and user the virtual host in there and server that contents of those virtual hosts.

mistwang
08-21-2007, 10:40 AM
Is that different from Plesk? Or Plesk is part of it?

mistwang
08-21-2007, 10:40 AM
LiteSpeed should work well with httpd.conf generated by plesk.

mistwang
08-21-2007, 10:42 AM
What we are trying to do is have litespeed use the htttpd.conf file and user the virtual host in there and server that contents of those virtual hosts.
That's how LiteSpeed + control panel works. I think it is based on plesk control panel. Please give it try, if any thing broken, just send us the httpd.conf and related files, we will make it work.

aalves@eapps.com
08-21-2007, 11:14 AM
We use virtuozoo and our customers have a HSP control panel. The httpd.conf file our control panel generates is attached. The error below is what we get when we try to use it.
2007-08-21 11:25:07.407 [ERROR] HttpListener::start(): Can't listen at address *: Bad file descriptor!
2007-08-21 11:25:07.407 [ERROR] HttpServer::addListener(*) failed to create new listener
2007-08-21 11:25:07.407 [INFO] [/etc/httpd/conf/httpd.conf:121] Failed to add listener .
2007-08-21 11:25:07.407 [INFO] Processing config directory: /etc/httpd/conf.d
2007-08-21 11:25:07.407 [INFO] Processing config file: /etc/httpd/conf.d/manual.conf
2007-08-21 11:25:07.408 [INFO] Processing config file: /etc/httpd/conf.d/php.conf
2007-08-21 11:25:07.408 [INFO] Processing config file: /etc/httpd/conf.d/welcome.conf
2007-08-21 11:25:07.408 [INFO] Processing config file: /etc/httpd/conf.d/RoR.conf
2007-08-21 11:25:07.427 [ERROR] [:3] Listener for 10.0.10.122:160 is not available!

mistwang
08-21-2007, 11:50 AM
I am not exactly sure what causes the problem in your environment, I have no problem to load your configuration file from our test server.
Maybe LSWS has difficulty to detect the IP address assigned to that VPS?

Can you try this to verify it?
Please change "Listen 80" directive in the configuration file to "Listen 10.0.10.122:80", see if it works, if it works, it is the problem I mentioned.

That's pretty strange that LSWS has not problem to detect IP addresses in other virtuozoo VPS environment.

mistwang
08-21-2007, 12:08 PM
Also, please check the listener configuration section of LSWS web admin console, see if there is any IP addresses listed in the IP drop down box.

Thanks!

aalves@eapps.com
08-21-2007, 12:53 PM
we make that change that you suggest and look:

2007-08-21 14:18:34.238 [ERROR] HttpListener::start(): Can't listen at address 216.154.210.39: Invalid argument!
2007-08-21 14:18:34.238 [ERROR] HttpServer::addListener(216.154.210.39) failed to create new listener
2007-08-21 14:18:34.238 [INFO] [/etc/httpd/conf/httpd.conf:121] Failed to add listener [216.154.210.39].
2007-08-21 14:18:34.238 [INFO] Processing config directory: /etc/httpd/conf.d

mistwang
08-21-2007, 01:06 PM
Are you using directive "Listen 216.154.210.39:80"?
Please show me the value of the "Using Apache Configuration file" section.

mistwang
08-21-2007, 02:54 PM
It should work well with the updated 3.2.2 release now.