We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Suggestions, Forms

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.

Kevin Jackson

Kevin Jackson 0 points

  • 11 months ago