Forum Moderators: phranque

Message Too Old, No Replies

Questions on configuring Apache Server

         

ericazhj

2:40 am on Feb 27, 2007 (gmt 0)

10+ Year Member



Hi,

I am developing some component, which need Apache to be able to listen to two ports, instead of only one default port. I do not know if there is some way to configure Apache http server to work in this way. I do not want to configure it to be virtual host.

Thanks,

Erica

encyclo

2:06 pm on Feb 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You shoud check out the
Listen
directive in httpd.conf:

[httpd.apache.org...]
[httpd.apache.org...]

So according to the documentation, the following should allow Apache to listen on both port 80 and 8000:

Listen 80
Listen 8000