logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Proxy/Redirect To Different Port
Author
KuraKai



Joined: 09 Nov 2007
Posts: 12

PostPosted: Mon 11 Feb '08 22:58    Post subject: Proxy/Redirect To Different Port Reply with quote

Ok I am running multiple websites with one apache servers, each one runs nicely through the virtual hosts. But I have another program running that uses only HTTP and on a different port, what I would like is to have Apache redirect to this port but without having the client be redirected. I know with redirect it tells the client to go somewhere else but only port 80 is allowed for http thanks to the handy and crummy access of schools. So here is a somewhat handy drawing with ASCII to show the illustration.


Client -----> Apache <----> Program
(80) (81)

The program is locally based but Apache needs to send it to the port and take the response and send it back to the client. A proxy would be nice but until I can HTTP through two proxies without using Connect would be nice.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Tue 12 Feb '08 16:46    Post subject: Reply with quote

You can use a reverse proxy with mod_proxy_html.
Back to top


Reply to topic   Topic: Proxy/Redirect To Different Port View previous topic :: View next topic
Post new topic   Forum Index -> Apache