httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andy <>
Subject [users@httpd] RewriteCond - Multiple matches
Date Mon, 15 Oct 2012 11:16:13 GMT
I am having a problem which I believe is related to greedy matching.

Header on the way in

MY-HEADER: interesting_1,something_else,interesting_2,interesting_3

and I want to set an environment variable then use mod_headers to 
replace it with

MY-HEADER: interesting_1,interesting_2,interesting_3

Whatever I try I only appear to get the first or last instance matched 
and was expecting to be able to build my output from %1,%2,%3 in a 
RewriteRule right after the RewriteCond.

Any help appreciated.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message