Hey all,
I'm looking for a way to modify something in the header:
lets say that SSL_CLIENT_S_DN_CN = x.y.z.0987654321 or x.y.0987654321
And the following returns only 0987654321
RewriteEngine On
RewriteCond %{SSL:SSL_CLIENT_S_DN_CN} ([0-9]+$)
RewriteRule (.*) - [E=USER:%1]
RequestHeader set DATA %{USER}e
Is there a way to use a similar method to return x.0987654321 I can't think of a good regex for that.