Bug 54306 - add regexp versions of ProxyPassReverse, ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath
Summary: add regexp versions of ProxyPassReverse, ProxyPassReverseCookieDomain and Pro...
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.4-HEAD
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2012-12-15 14:11 UTC by Christoph Anton Mitterer
Modified: 2018-05-28 18:22 UTC (History)
1 user (show)

New directive ProxyPassReverseCookiePathMatch (8.21 KB, patch)
2014-11-03 15:32 UTC, pm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Anton Mitterer 2012-12-15 14:11:25 UTC

GIven that ProxyPassReverse, ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath do not work as expected in <LocationMatch> sections (they take the string literally), regexp versions of these directives are IMHO required.

Otherwise one cannot fully use ProxyPassMatch.

Comment 1 pm 2014-11-03 15:32:54 UTC
Created attachment 32183 [details]
New directive ProxyPassReverseCookiePathMatch

The attached patch introduces the new directive ProxyPassReverseCookiePathMatch that supports regex matching and target substitution for 2.4.x. English documentation included.
Comment 2 Christophe JAILLET 2018-05-28 18:22:34 UTC
Such a directive could be a solution to bug 48295 (and its duplicate bugs)