
k5876 at postpro
Jun 7, 2012, 4:38 PM
Post #1 of 1
(103 views)
Permalink
|
|
Using 'SetEnvIf' IP address matches in IPv6 space - do I match on 'short' or 'expanded' address?
|
|
In my httpd conf, I set a var for use in matching conditions. In IPv4 space this is clear. SetEnvIf X-FORWARDED-FOR "^192\.168\.1\.(.*)" okOFFICE=$1 SetEnvIf X-FORWARDED-FOR "^127\.0\.0\.1(.*)" okLOCALHOST=$1 I want to add the analogue for IPv6 addresses. Which do I match against? The 'shortened' or 'fully expanded' IPv6 addresses? E.g., "::1" vs "0:0:0:0:0:0:0:1" and, "2001:490:1cd7:5b10::1" vs "2001:490:1cd7:5b10:0:0:0:1" Do I only need to match the short versions? Or both/all? Kar --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe [at] httpd For additional commands, e-mail: users-help [at] httpd
|