httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Balažic <david.bala...@comtrade.com>
Subject [users@httpd] RequestHeader can not match single space char?
Date Thu, 19 May 2016 16:13:48 GMT
Hi!

I have apache 2.4.7-1ubuntu4.9  (on Ubuntu 14.04.4 64bit) and while this works:
RequestHeader edit Some-Header " M" "X" 

This does not:
RequestHeader edit Some-Header " " "X" 

Am I missing something obvious?

The first one matches a pair of space and capital M and replaces them with X.
The later does not seem to do anything (to the same test data).
I also tried using "\s", but it also does not seem to work.

Help!

David Balažic
Software Engineer

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


Mime
View raw message