Forum
Remote IP address in Perch Forms
Not at all urgent but thought I’d record it anyway.
Perch handles complex server environment variables (such as when a web server is configured behind a reverse proxy or load balancer) by using remote IP address provided in the ~~~X_FORWARDED_FOR~~~ or ~~~X_REAL_IP headers~~~ if needed.
Perch Forms on the other hand only examines the ~~~REMOTE_ADDR~~~ header. When used behind a proxy this results in Perch Forms recording ~~~127.0.0.1~~~ as the IP address for each form response.
Admittedly there are workarounds, but it would be nice if Perch Forms worked "out of the box" like Perch itself.