The !
directive is useful in situations where you don't
want
to reverse-proxy a subdirectory, e.g.
ProxyPass /mirror/foo/i !
ProxyPass /mirror/foo http://backend.example.com
will proxy all requests to /mirror/foo
to
backend.example.com
except requests made to
/mirror/foo/i
.
Order is important: exclusions must come before the
general ProxyPass
directive.
hi,
I configured reverse proxy like this:
<Proxy balancer://resource-lists>
BalancerMember http://192.168.1.1/services/resource-lists
</Proxy>
<Location /services/resource-lists>
AuthType Digest
AuthName "test.com"
AuthDigestProvider dbd
AuthDigestQop auth
AuthDigestNonceLifetime 30
Require valid-user
AuthDBDUserRealmQuery "SELECT pwd FROM users WHERE username = %s AND domain = %s"
ProxyPass balancer://resource-lists
</Location>
Now another url need reverse proxy, "http://192.168.2.2/services/resource-lists/xxxx/yyyy.xml"
/xxxx/, /yyyy/ every time is changed
But 192.168.1.1 and 192.168.2.2 have different services.
How I do it?
Thank You
simon