Ticket #35 (closed defect: fixed)
IP Address for non-logged in users is always 127.0.0.1 when deployed behind a proxy (e.g. on ckan.net)
Reported by: | rgrp | Owned by: | rgrp |
---|---|---|---|
Priority: | minor | Milestone: | v0.4 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ||
Theme: |
Description
When IP address is used to identify non-logged in users (for example on create and editing of packages) it is always 127.0.0.1 when using a reverse proxy (standard deployment configuration on a production machine and used e.g. on http://www.ckan.net).
This could be corrected by using HTTP_X_FORWARDED_FOR when available.
Change History
Note: See
TracTickets for help on using
tickets.
Resolved in r157.