• Hey Guest, don't forget to VOTE on each RFC topic. Your voting determine Chevereto development! No votes, no development.
  • 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.

tryimg

Chevereto Member
Hi,
I'm facing a huge issue with websites those are mass uploading images on my website and then putting it on their forums. I would like to block such websites from hotlinking the images. Currently I'm using the .htaccess to do so, but its very confusing in .htaccess.
You should add an option in the admin settings to list down all the blocked websites (and may be at the backend, this option updates the .htaccess file) making it easy for us to manage?
Thanks
 
This will be hard to do in chevereto with esternal storage. Its best to run a reverse proxy on nginx and prevent it there.
 
This will be hard to do in chevereto with esternal storage. Its best to run a reverse proxy on nginx and prevent it there.
I'm using Avrixe hosting account and they are on apache. How can I do that?
I tried using the following in .htaccess

Code:
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?abc\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?cool\.cn/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?hot\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?earth\.es/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://tryimg.com/images/404.gif [L]

But I'm not sure if it is actually working or not. I tried refreshing those links (blog posts or forums) where the images are hotlinked, they are still showing up instead of my 404 image.
 
There are hotlink testers and generators everywhere. I suggest you to check that.

By the way, the hotlink protection must be placed before the Chevereto rewrite because it contains a L flag (last rule).
 
There are hotlink testers and generators everywhere. I suggest you to check that.

By the way, the hotlink protection must be placed before the Chevereto rewrite because it contains a L flag (last rule).
Can I send you a private message to show you the current HTACCESS so you can suggest me what to do?
 
Back
Top