httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andy <a...@andycrichton.co.uk>
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.

Cheers

Andy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message