Reverse Proxy for all requests - except images

Reverse Proxy for all requests - except images

am 17.07.2003 21:00:47 von Mike Collins

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:

ProxyPass http://localhost:8000/
ProxyPassReverse http://localhost:8000/


Using the Rewrite Engne i tried several variations of the below:
Something like the below=20
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



charset=3Diso-8859-1">





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

 

 

Using the Proxy Engine I thought it =
could work like=20
this:

<ProxyMatch =
[^\.gif$]>
   =20
 ProxyPass  href=3D"http://localhost:8000/">http://localhost:8000/
  =
; =20
 ProxyPassReverse href=3D"http://localhost:8000/">http://localhost:8000/
</ProxyM=
atch>

 

Using the Rewrite Engne i tried several =
variations=20
of the below:

Something like the below

RewriteCond %{THE_REQUEST} =
"[^(images)]"=20
[NC]
RewriteRule .* href=3D"http://localhost:8000/">http://localhost:8000/ =
[P,L]

 

All the above directives are in a =
virtualhost=20
tag.

 

Thanks,

Mike Collins

Macromedia Product=20
Support


------=_NextPart_000_0231_01C34C74.34A7DF00--