• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

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