You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Bender, Charles" <ch...@beachcamera.com.INVALID> on 2019/12/09 20:00:09 UTC

[users@httpd] 404 error - locationmatch and proxypassmatch with parentheses in URL

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?