Forums / Developer / ezDebug and eZAudit not supporting X-Forwarded-For (Varnish problem)

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

ezDebug and eZAudit not supporting X-Forwarded-For (Varnish problem)

Author Message

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