• 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
  • 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