You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ho...@post.cz on 2020/06/25 10:16:28 UTC

[users@httpd] RewriteRule - straightforward exclude from reverse proxying?

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