httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Mod_proxy ProxyMatch
Date Fri, 29 Jul 2005 03:14:25 GMT
On 7/28/05, Kuntze, Darin <> wrote:
> I'm trying to do some proxy work on my apache 2 server. I have requests for
> a couple of asp files that need to be proxied to another server. Therefore
> I'm trying to use ProxyMatch to match only the files with the ".asp"
> extension. 
> Here's what I have so far (and it doesn't seem to work): 
> <ProxyMatch "\.[aA][sS][pP]$">
>          Order deny,allow
>          Allow from all
>          ProxyPass http://aspwebserver/
>          ProxyPassReverse http://aspwebserver/
>  </ProxyMatch> 
> Anyone have any ideas/suggestions? If there is a better way of doing this
> I'm very open to trying a different route. 

<ProxyMatch> is for catching requests that are already being served by
the proxy, not for specifying which requests to proxy.  Try replacing
that with <LocationMatch>.  Alternatively, you can do this with
RewriteRule and the [P] flag.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message