Can some one point me to the right direction on how to retrive site visitors IP address? We are using 5.5. In the client context it dispaly's NO IP or sometime local host IP.
Thanks in advance !!
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.