[TriLUG] Re: HTTP & different ports; routing & stuff

James Manning jmm at sublogic.com
Wed Oct 1 12:37:38 EDT 2003


> Question: I have Apache running on port 8888, and Zope/Plone will be
> on 80.  Is there a way to make "http://apache.mydomain.whatever" go
> to port 8888 (and thus view apache), and
> "http://plone.mydomain.whatever" go to port 80? Seems like it should
> be possible; but since linux cannot run 2 services on the same port,
> i'm not wise enough to think of a way to do it...

FWIW, normally put apache on port 80 and the "other" web servers on
ports like 8080, 8888, etc. and then use mod_rewrite or mod_proxy or
mod_jk2 (for tomcat) or whatever to get the requests funneled back and
forth.

http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html

However, it sounds like the linked article from elsewhere in this
thread points to how Zope can handle this duty well enough :)

Having Apache in front may just be more of a "right tool for the job"
thing from my perspective, but it's certainly possible that my lack of
familiarity with Zope is dominating that opinion :)

James
-- 
James Manning <http://www.sublogic.com/james/>
GPG Key fingerprint = B913 2FBD 14A9 CE18 B2B7  9C8E A0BF B026 EEBB F6E4



More information about the TriLUG mailing list