Reverse Proxy for all requests - except images

This is a multi-part message in MIME format.

------=_NextPart_000_0231_01C34C74.34A7DF00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have tried everything and can't find a solution:


Using the Proxy Engine I thought it could work like this:
<ProxyMatch [^\.gif$]>
ProxyPass http://localhost:8000/
ProxyPassReverse http://localhost:8000/
</ProxyMatch>

Using the Rewrite Engne i tried several variations of the below:
Something like the below
RewriteCond %{THE_REQUEST} "[^(images)]" [NC]
RewriteRule .* http://localhost:8000/ [P,L]

All the above directives are in a virtualhost tag.

Thanks,
Mike Collins
Macromedia Product Support
------=_NextPart_000_0231_01C34C74.34A7DF00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I have tried everything and can't find =
a
solution:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Using the Proxy Engine I thought it =
could work like
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><ProxyMatch =
[^\.gif$]><BR>   
 ProxyPass  <A
href=3D"http://localhost:8000/">http://localhost:8000/</A><BR>  =

 ProxyPassReverse <A
href=3D"http://localhost:8000/">http://localhost:8000/</A><BR></ProxyM=
atch></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Using the Rewrite Engne i tried several =
variations
of the below:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Something like the below </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>RewriteCond %{THE_REQUEST} =
"[^(images)]"
[NC]<BR>RewriteRule .* <A
href=3D"http://localhost:8000/">http://localhost:8000/</A> =
[P,L]</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>All the above directives are in a =
virtualhost
tag.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Mike Collins</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Macromedia Product
Support</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0231_01C34C74.34A7DF00--
Mike Collins [ Do, 17 Juli 2003 21:00 ] [ ID #34726 ]
Webserver » gmane.comp.apache.mod-proxy » Reverse Proxy for all requests - except images

Vorheriges Thema: [PATCH] Goofing with proxy load balancing
Nächstes Thema: IP level measurement traffic