Preventing URLs from Being Reverse Proxied


ProxyPass /images/ ! ProxyPass / http://crm.example.com


It is possible to prevent certain URLs from not being proxied by specifying an exclamation mark (!) as the remote site URL in ProxyPass directives. It is important that those directives be placed before other ProxyPass directives. For example, this configuration will pass all requests to a backend site, except requests for images, which will be served locally.




Apache(c) Phrase Book(c) Essential Code and Commands
Apache Phrasebook
ISBN: 0672328364
EAN: 2147483647
Year: 2006
Pages: 254

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net