Apache Server configuration support - mod_rewrite and proxy server

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2007 > mod_rewrite and proxy server





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 mod_rewrite and proxy server
bhavin

2007-08-22, 1:24 pm

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://<proxy_hostname>:<proxy_port>/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://<hostname>:<port> ) 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 .

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com