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: [email protected]
For additional commands, e-mail: [email protected]