Difference ProxyPass and RewriteRule

Posted by Wesho on Server Fault See other posts from Server Fault or by Wesho
Published on 2010-03-16T15:02:59Z Indexed on 2010/03/16 15:11 UTC
Read the original article Hit count: 537

I just came across a case where ProxyPass (ProxyPassMatch to be exact) is being used in an Apache configuration file. This mod_proxy rule is being used to proxy from a whole cluster to one specific server, when a certain file is requested which only resides on that server.

Now I'm a bit confused since I can't grasp why something like this cannot be achieved using a RewriteRule. So in essence I want to ask: What is the difference between ProxyPassMatch and a RewriteRule in this case?

© Server Fault or respective owner

Related posts about proxypass

Related posts about proxypassmatch