How use httpd.conf

mistwang

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

mistwang

LiteSpeed Staff
#7
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.
 
#8
httpd.conf file

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!
 

Attachments

mistwang

LiteSpeed Staff
#9
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

LiteSpeed Staff
#10
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!
 
#11
httpd.conf file

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
 
Top