Thanks for the reply. Would the equivalent be: RewriteRule (.*)\.[aA][sS][pP]$ http://aspserver\$1.asp [P] Does this look correct? -----Original Message----- From: Joshua Slive [mailto:jslive@xxxxxxxxx] Sent: Thursday, July 28, 2005 10:14 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] Mod_proxy ProxyMatch On 7/28/05, Kuntze, Darin <dkuntze@xxxxxxxx> 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. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx