https://bz.apache.org/bugzilla/show_bug.cgi?id=65429
Bug ID: 65429 Summary: order of ProxyPass and ProxyPassMatch seems to matter Product: Apache httpd-2 Version: 2.4.48 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: mod_proxy Assignee: bugs@httpd.apache.org Reporter: tob...@gmx.de Target Milestone: --- # summary After upgrading from apache2 v2.4.46 to v2.4.48, the order of ProxyPass and ProxyPatchMatch seems to matter. # test requests 1. GET http://demo.tobwen.local/internal/ 2. GET http://demo.tobwen.local/tiles/osm/19/272348/174392.png # config (1) <VirtualHost *:80> ServerName demo.tobwen.local DocumentRoot /var/www/html/ ProxyPass "/internal" "http://localhost:8081" ProxyPassMatch "^/tiles/([^/\.]+)/(\d+/\d+/\d+.png)$" "http://localhost:8081/wmts/$1/webmercator/$2" </VirtualHost> # results (1) On v2.4.46 (and earlier), both test requests worked as expected. On v2.4.48, the second request suddenly throws an ERROR 404. # observation Let's change the order of ProxyPass and ProxyPassMatch. # config (2) <VirtualHost *:80> ServerName demo.tobwen.local DocumentRoot /var/www/html/ ProxyPassMatch "^/tiles/([^/\.]+)/(\d+/\d+/\d+.png)$" "http://localhost:8081/wmts/$1/webmercator/$2" ProxyPass "/internal" "http://localhost:8081" </VirtualHost> # results (2) Crazy, now the requests work without a problem. # conclusion This seems to be a regression since it worked in earlier versions. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org