Module: Fix Proxy IP

Posted by Maurice Makaay 
Module: Fix Proxy IP
June 08, 2009 01:40PM
This module can be used when your server is running behind a proxy server. In such case, Phorum will not see the IP-address of the client, but the one of the proxy. If the proxy is proper, it will send along a X-Forwarded-For header, telling the original IP-address. This module will let Phorum use the IP-address from that header if it is available in the request.

Changelog:
----------

2009-08-20 v1.0.1

    - Fixed a typo in the proxy header name. Thanks to phorum.org
      user rfc for reporting the issue.

2009-06-08 v1.0.0

    - Initial release


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce



Edited 1 time(s). Last edit at 08/20/2009 02:33PM by Maurice Makaay.
Attachments:
open | download - fix_proxy_ip-1.0.1.tar.gz (966 bytes)
open | download - fix_proxy_ip-1.0.1.zip (1.7 KB)
Re: Module: Fix Proxy IP
June 09, 2009 03:38PM
Hi Maurice,
How can I send changes to this module?
Re: Module: Fix Proxy IP
June 09, 2009 04:05PM
Just post changes in this thread and I'll incorporate them in the repository.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
rfc
Re: Module: Fix Proxy IP
August 20, 2009 09:10AM
There's an error in the module, it's HTTP_X_FORWARDED_FOR, not HTTP_X_FORWARD_FOR .
Re: Module: Fix Proxy IP
August 20, 2009 02:30PM
Thanks for the heads up. I uploaded version 1.0.1 which fixes this issue.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Sorry, only registered users may post in this forum.

Click here to login