We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
mod_cloudflare
mod_cloudflare
How do I get an Apache module to work?
I am trying to get mod_cloudflare to show the original IP address in the Apache logs.
It does not seem to work with VestaCP.
I am using instructions from the CloudFlare site.
I use this code to install it. Then I run the phpinfo test page, and I can see that the module is loaded.
This is on CentOS 6.6
However, it doesn't restore the original IP. I tried it with a LAMP install at DigitalOcean, and it worked beautifully.
I asked CloudFlare, and David, a web engineer at Cloudflare, is also trying to figure it out. He said he might contact CloudFlare individually. I'm not sure if he has, but he has not updated me on the issue.
I told him I will try to figure it out and test, but I just can't seem to figure it out.
Does anyone know how? I find that it has something to do with Nginx being a proxy. But I'm not sure at all.
I am trying to get mod_cloudflare to show the original IP address in the Apache logs.
It does not seem to work with VestaCP.
I am using instructions from the CloudFlare site.
I use this code to install it. Then I run the phpinfo test page, and I can see that the module is loaded.
Code: Select all
yum install libtool httpd-devel
wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c
apxs -a -i -c mod_cloudflare.c
However, it doesn't restore the original IP. I tried it with a LAMP install at DigitalOcean, and it worked beautifully.
I asked CloudFlare, and David, a web engineer at Cloudflare, is also trying to figure it out. He said he might contact CloudFlare individually. I'm not sure if he has, but he has not updated me on the issue.
I told him I will try to figure it out and test, but I just can't seem to figure it out.
Does anyone know how? I find that it has something to do with Nginx being a proxy. But I'm not sure at all.
Re: mod_cloudflare
You need module for nginx to resolve real ips from cloudflare, not Apache... Becouse apache is behind nginx.
Re: mod_cloudflare
I found it!
Works now!
Finally!
CloudFlare had it posted on their site...
Works now!
Finally!
CloudFlare had it posted on their site...