Perfect. Thanks !!
Hum, it looks like it is not giving me external IP of the visitor. Its giving me network IP.
Have u tried both x-forwarded-for & via ? Which version of cq & dispatcher u r using?
In 5.5, the clientheaders has * listed by default:
# Forward all request headers that are end-to-end. If you want
# to forward a specific set of headers, you'll have to list
# them here.
Do you still have to explicitly add
<%=slingRequest.getHeader("x-forwarded-for") %> OR
If so, why doesn't "*" account for either scenerio?
The clientheaders has no relation with cq5.5 release. It is the dispatcher version that matters. From dispatcher 4.1.0 onwards
The /clientheaders section supports the "*" wildcard. Please ensure you are using right verion of dispatcher.