You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ken Pelletier <ke...@nika.com> on 2002/02/15 17:48:02 UTC

Configuring Apache to forward to internal server on another port?

I have a server that streams audio/video over HTTP, on the same machine 
where Apache httpd is runnning.  The streaming server listens on a port 
other than 80 (naturally, since Apache listens on 80).

I would like to configure Apache to forward all requests for a given URL 
pattern (say: /streaming/*) to that internal server, and return the 
results (untouched) to the client.

The client must be unaware that the internal server is serving the 
request, so http redirects are not appropriate.  In fact, in some cases, 
the client is not alowed to make a request on any other port than 80.

I could write a program that listens on 80, parses the HTTP request and 
chooses to send to Apache or the streaming server, based on the GET/POST 
actions, but I'm still assuming that there is a way to config Apache to 
do this... although I haven't quite found the solution yet.

I've searched the archives, read the O'Reilly book, all of the docs, etc.

Any ideas?

Thanks.

- Ken



---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org