• 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.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

How to enable Real ip of the uploader

rsunny2012

Chevereto Member
Hello,

I would need help in the below 2 issues

1. I am seeing that whenever user uploads any images or register as new user, cloudflare ip is getting registered. I have cpanel installed ( with mod_remoteip enabled) with apache as webserver
what changes do i need to perform to get the real ip

2. I have added the below message to redirect all http traffic to https://www in .htaccess. lately i am seeing the value is not working as there are some changes done on .htaccess file by the script

RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ https://www.website.net/$1 [R=301,L]

can someone help me to fix the above 2 issues
 
1. what changes do i need to perform to get the real ip
For CloudFlare you should be using mod_remoteip with proxy setup (make sure that all CloudFlare RemoteIPTrustedProxy are added to the virtual host configuration.

2. I have added the below message to redirect all http traffic to https://www
HTTPS is auto detected by Chevereto, long as it is enabled in the server it will use HTTPS. You can also forcee HTTPS by a settings value: https://v3-docs.chevereto.com/setup/server/settings-file.html
 
Back
Top