Would ProxyPass help?
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

Just a thought because I have a main webserver also running on p80 and a
hyperlink to /myapp which takes the user silently to a whole different
web server on a different port.

Good luck!


-----Original Message-----
From: Florent Georges [mailto:li...@fgeorges.org]
Sent: 25 March 2009 12:42
To: users@httpd.apache.org
Subject: [us...@httpd] Redirect a whole site from port 80 to a servlet
container


  Hi,

  I have an Apache HTTPD 2 running on my server, serving my
website on the port 80.  I have also a servlet container on that
machine, listening to the port 1234 (the real is different of
course.)  The interesting pages on this container are available
at http://www.mysite.com:1234/ctnr/app/index.html and so on (the
"index.html" part could change, but everything before always
remain the same.)

  Now, I have a domain name for that part, and I'd like to expose
this content for that domain name, through the port 80.  So kind
of redirecting URIs of the form http://www.newdomain.com/* (on
port 80) to http://www.mysite.com:1234/ctnr/app/*.

  Is it possible?  Which module should I look at?

  Regards,

--
Florent Georges
http://www.fgeorges.org/


























---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



**********************************************************************
Privileged/Confidential Information may be contained in this
message. If you are not the addressee indicated in this
message (or responsible for delivery of the message to such
person), you must not copy, distribute or take any action in
reliance to it.
In such case, you should destroy this message and kindly
notify the sender by reply email. Please advise immediately
if you or your employer do not consent to Internet email for
messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of Minorplanet Systems plc shall be understood as
neither given nor endorsed by it. Minorplanet Systems plc, Registration no: 
3372097
Minorplanet Limited, Registration no: 4072786
Greenwich House, 223 North Street, Leeds, LS7 2AA
VAT #: 698 1438 86
**********************************************************************


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to