Forums / Developer / ezDebug and eZAudit not supporting X-Forwarded-For (Varnish problem)
Marko Žmak
Thursday 16 June 2011 2:17:57 am
It seems like eZDebug and eZAudit get the ip of the visitor only from the REMOTE_ADDR server variable. This causes problems when using Varnish since the only IP address that is accessing the eZP pages is the IP of the varnish server.
It should be configurable wether to use RMOETE_ADDR or HTTP_X_FORWARDED_FOR... What's the point of the audit log where all entries have the same IP address?
So...
Is there currently a workaround for this?
Should we add this as enchancement for eZP?
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth