RewriteRule - straightforward exclude from reverse proxying?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RewriteRule - straightforward exclude from reverse proxying?

hostalp
Hello,
is there anything like

ProxyPass /path !

(that excludes the specified path from reverse proxying) for RewriteRule ... [P] ?

Yes, the RewriteRule pattern may be adjusted to take care of that, or RewriteCond may be added to achieve similar result, but it's all quite cumbersome with more complex configurations (several rewrite rules and Proxy directives at different places and configuration files). Therefore I'd prefer something that would work on its own and wouldn't for example interfere with non-proxying rewrite rules.

Best regards,
Petr