Msg#: 3203938 posted 8:14 pm on Dec 30, 2006 (gmt 0)
Hi, i am playing with a Apache on a Win2000 system. I have a Apache 2.2 listening on port 80. Works perfect. Now i am trying to test a second Webserver and this server (with a frontiere kernel) can only listen to port 80 and i cannot change this. Is it possible to configure Apache in a way that both servers could listen to port 80? Maybe with mod_rewrite and some directory tricks or something like that?
I know that Zope can be used with a Apache as frontend, but it is listeing to port 8080 like Tomcat.
Msg#: 3203938 posted 4:21 pm on Jan 1, 2007 (gmt 0)
A listening port cannot be shared. What you could do, though, is have one server operate as a proxy for the other. Since you say the Frontier server must use port 80, you'd have to set that one up to route requests to Apache, which would have to be listening on a different port, such as 8080.
I don't know how you'd set up the Frontier server as a proxy, though. Are you sure it'll only run on port 80? The Frontier documentation talks about a setting "user.inetd.config.http.port" which you can use to specify the port it listens on. If that works, it'd be simple to set up the Apache server to act as a proxy instead, using mod_proxy.