• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Cloudflare Real IP

sonontse

Chevereto Member
I am using version 3.3.1 with cloudflare mod enabled in the dashboard. I also installed the cloudflare_module in apache and confirmed it with apache2ctl -M. However, when an user registers or uploads images, it still shows cloudflare's IP and not their real IP. Any help?
 
You actually don't need the Apache mod, just make sure that cloudflare add this to the requests:

Code:
$_SERVER['HTTP_CF_CONNECTING_IP']

That is what Chevereto uses, if you are getting the same IP it means that HTTP_CF_CONNECTING_IP is not being handled correctly either by cloudflare or your server.
 
Back
Top