Author |
|
kenshiro
Joined: 23 Jul 2014 Posts: 5
|
Posted: Wed 23 Jul '14 10:00 Post subject: mod_cloudflarer Apache 2.4 on Windows Server 2012? |
|
|
Hi,
I would like to ask the community if someone could compile mod_cloudflare for Windows Server 2012 to be used with Apache 2.4. We are using Apache 2.4 on Windows Server 2012 and are protected by CloudFlare therefore we would need mod_cloudflare to get real visitors IPs in the logs (when one is using CloudFlare protection, all traffic is routed through CloudFlare "proxies" therefore all incoming requests to the final destination web server are seen as requests from CloudFlare IPs https://www.cloudflare.com/ips).
See "Logging Real Visitor IP Addresses: mod_cloudflare for Apache httpd" at https://www.cloudflare.com/resources-downloads
Sources are here:
https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c
Thanks! |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
|
Back to top |
|
kenshiro
Joined: 23 Jul 2014 Posts: 5
|
Posted: Wed 23 Jul '14 10:34 Post subject: |
|
|
Thanks, works like a charm! |
|
Back to top |
|
Qmpeltaty
Joined: 06 Feb 2008 Posts: 182 Location: Poland
|
Posted: Wed 08 Jun '16 16:06 Post subject: |
|
|
Does anyone have never version of this module ? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 08 Jun '16 18:06 Post subject: |
|
|
You know, it would be really nice if these folks would do releases, it would make it so much easier to track. As it is the commit log for the license file mentions version 1.2.0 but in the source it has been 1.0.3 for years.
Looking at it they have at least made it compatible with 2.4 without having to modify it.
I'll try to get to this tonight and I guess I'll call it 1.2.0.1 since all that was done was adding and removing Cloudflare IP ranges.
It looks like all I had was just VC9 builds, any preference on the VC version and I'll do that first. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
|
Back to top |
|