mod_rewrite and proxy server

mod_rewrite and proxy server

am 22.08.2007 17:09:39 von Bhavin

Hi,

I am using mod_proxy and mod_rewrite plugins on apache proxy server
2.0.52.
we have requirement in which we need to change hostname and port.

actually we have two web servers in which one of is apache proxy
server which redirect requests to other server.

we are trying to access http://:/abc.html
through proxy server and abc.html is resides in other
webserver.Request internally redirect to other servers but at last
once we access the abc.html we see the other server's url (
http://: ) instead of proxy servers url in address
bar.

so we are using mod_rewrite to resolve the case
but the problem is every request comes to proxy server redirect to
other server and finally it gives resource, so if we add mod_rewrite
it doesnt work.

Is there any configuration where we can use both mod_proxy and
mod_rewrite .