404 error - locationmatch and proxypassmatch with parentheses in URL

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

404 error - locationmatch and proxypassmatch with parentheses in URL

Bender, Charles

Hi,


We have observed the following error. If a URL contains parentheses, and is matched by LocationMatch that sends to ProxyPassMatch, the backend doesn't receive request and Apache returns 404 error.


<LocationMatch (.*)>
   ProxyPassMatch "https://1.2.3.4:443"
</LocationMatch>

This URL should work, but doesn't- http://example.com/path/to/url(2)


If the parentheses are in the query string it works as expected.


Is there a different regex needed to match parentheses in URL?