Re: [users@httpd] Mod_Rewrite and reverse proxy

2011-04-20 Thread Joel Donahue
On Wed, Apr 20, 2011 at 4:58 PM, Mark Montague wrote: >  On April 20, 2011 18:43 , Joel Donahue wrote: >> >> Is it possible to use Mod_Rewrite and apache in reverse proxy mode >> simultaneously? > >> >> RewriteEngine on >> RewriteBase / >> RewriteRule ^robots\.txt$ robots2.txt >> >> >> ProxyPas

Re: [users@httpd] Mod_Rewrite and reverse proxy

2011-04-20 Thread Mark Montague
On April 20, 2011 18:43 , Joel Donahue wrote: Is it possible to use Mod_Rewrite and apache in reverse proxy mode simultaneously? RewriteEngine on RewriteBase / RewriteRule ^robots\.txt$ robots2.txt ProxyPass / http://www.server2/ retry=0 ProxyPassReverse / http://www.server2/ ProxyPreserv

[users@httpd] Mod_Rewrite and reverse proxy

2011-04-20 Thread Joel Donahue
Is it possible to use Mod_Rewrite and apache in reverse proxy mode simultaneously? I have a web server (server1) that is a mirror of another of another web server (server2) and all requests from the server1 are reverse proxyed to server2. The robots.txt from server2 needs to be changed to disallow