Web Servers on Unix and Linux - Redirecting HTTP and non HTTP connections via ports via Apache

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > February 2006 > Redirecting HTTP and non HTTP connections via ports via Apache





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Redirecting HTTP and non HTTP connections via ports via Apache
mydejamail@yahoo.co.uk

2006-02-22, 5:56 pm


Is there a way to get Apache to reroute HTTP requests to different
ports via the url?

I setup a web page to listen on a port besides port 80 and 443 because
IIS was listening on them, but when the viewer tried to view the site
from a web cafe it was blocked.

How can the main Apache server be made to transfer the request to a
virtual server running on a non standard port? It was IIS I was using
but because it was part of an SBS2003 installation I didn't want to
replace it with Apache on the main port in case it broke the SBS2003
setup.

However I am more interested in the case of Apache, knowing how the
same can be done with SBS is a bonus.

I am also interested in non HTTP requests, is there a way Apache can
listen to the type of header and then reroute the incoming stream to a
different port. I don't expect them to connect using standard HTML
headers. If Apache can't do it, are there some utilities which are
programmed to listen for a variety of common protocol connection
headers on a single port and reroute them to the proper applications?

It will be of much help in the case of a Remote CCTV viewer which
doesn't use any of the standard ports.

Paul Rubin

2006-02-22, 5:56 pm

mydejamail@yahoo.co.uk writes:
> I setup a web page to listen on a port besides port 80 and 443 because
> IIS was listening on them, but when the viewer tried to view the site
> from a web cafe it was blocked.
>
> How can the main Apache server be made to transfer the request to a
> virtual server running on a non standard port?


Use the proxy module or the rewrite module with a [P] directive
(for "proxy").
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com