0

I have Apache server serving as a reverse proxy for one of Angular application.

Defined Reverse proxy rules in ssl.conf like below

ProxyPass http://10.10.10.101/xyz/abc ProxyPassReverse http://10.10.10.101/xyz/abc

And also defined Rewrite conditions

RewriteCond %{REQUEST_URI} !^/xyz/abc(.*)$

But in my code i have one file coming with same URL like /xyz/abc/header.html.

I want to restrict that URL not to go through reverse proxy rule.

How can i restrict it, can some one help me out with this issue?

1 Answer 1

0

To make exceptions to proxy you just append "!" at the end, like:

ProxyPass /xyz/abc/header.html !
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.