mod_rewrite challange

New to mod_rewrite? This is a good place to start.

mod_rewrite challange

Postby Rob » Thu Dec 12, 2002 3:07 am

Hi,

I've got a situation where I want to have Apache 2.0 reverse proxy
services between the http client and the internal http server. This thing
is that whenever the client initiates a request Apache gives back the
original url of the internal server. Which in turn, results in a lookup failure
at the client because the internal server has a private IP address.

Even with the following lines in httpd.conf ;

ProxyPass /exchange http://172.16.1.1:4321/exchange
ProxyPassReverse /exchange http://172.16.1.1:4321/exchange

So, I want to use mod_rewrite to solve this. I've read a lot about it but
the only thing that worries me is the fact that is only handles incoming
requests. I've not read anything about outgoing or reverse proxy traffic.
mod_rewrite is quite complex so I might be mistaken. But is there a way
to rewrite the url before it is send back to the client ?

Thanks.. :-?

Rob
Rob
 
Posts: 1
Joined: Thu Dec 12, 2002 3:04 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 10 guests

cron