• 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

Limit origin domain

LibreArbitre

Chevereto Member
Hi,

I don't know if it is the right place to post my feature request but I'm looking for the possibility to limit the print of all image hosted from one domain... In my case, I offer my service for free for the biggest french board and I wanted to limit bandwidth leeching by only allow images display with an only one source domain.

I tried playing with .htaccess but I got no result.

Maybe somebody has an idea to share?

Regards,
 
No, in fact, I want to permit the image posting/linking/sharing on only one domain and disable everywhere except this specific forum.
 
I don't find the word to explain my thought :)

I have a domain abc.com which host my Chevereto instance and I want to be able to print all the images on screen only to two domains: The domain where Chevereto is installed and only one external domain (the one who host the forum of my community). I want that every image posted apart from the domain who host my Chevereto instance AND the URL of my community's board can't print on screen. In fact: Hotlinks are allowed ONLY from two identified domains...
 
Yes you can do this .htaccess file, assuming you use Apache web server only, if you use Nginx/Apache hybrid it's not possible.

Example to allow hotlinking to eBay and deny all other sites, use below in the the .htaccess file, it's what I use on another site to allow only eBay to hotlink my images.

RewriteOptions inherit
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule .* https://domain.com%{REQUEST_URI} [R,L]
Options -Indexes

RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://(www\.)?domain\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://(www\.)?ebay\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://(www\.)?vi.vipr.ebaydesc\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
 
Hi and thank you for your help but I tried so much solution but I just realize that I'm no more on a dedicated server for this instance but in shared hosting and I think that the static files are handle by NginX and the dynamic ones are by Apache2...

So there is no solution for my case.

Thanks anyway!
 
Hi and thank you for your help but I tried so much solution but I just realize that I'm no more on a dedicated server for this instance but in shared hosting and I think that the static files are handle by NginX and the dynamic ones are by Apache2...

So there is no solution for my case.

Thanks anyway!
You can get VPS but dont get nginx but only Apache2 like for example check https://hostek.com/hosting/linux/vps/linux-vps-hosting.html and you can install whatever you like then you can customize your needs.
 
Looks expensive, and be wary of anything that says 'Bandwidth/Traffic Unlimited' I would try Vultr or Linode $5 deal, you can upgrade in one click as needed, and use Debian ;)
Expensive? nah, its unmanaged thats why. If its managed, its 3x more. I have Vultr and running 16GB cloud with Chevereto, amazing honestly.
 
No such thing as unlimited bandwidth, trust me ;)

See section 6 of their TOS

6. BANDWIDTH/TRAFFIC​

If a site receives so much traffic that it has a negative effect on other sites on the server, this site will be subject to suspension and/or cancellation, or other arrangements may be made.

They will cut you off way before 1TB which is Vultr/Linodes basic offering.
 
That is why I hate to see they offer unmetered service, I rather to pay for what bandwidth I use. Vultr will kick you off if you don't take action within their timeframe. Vultr is very strict more than DigitalOcean and Linodes from what I heard.
 
You can get VPS but dont get nginx but only Apache2 like for example check https://hostek.com/hosting/linux/vps/linux-vps-hosting.html and you can install whatever you like then you can customize your needs.
For another project I pay $24 for a Xeon E3-1230 v2, 16GB DDR3, 2x 1TB and Unmetered@1Gbps (in France "unmetered" is not a problem because we have a lot of peering points in EU so it's real and btw nobody rents a server with fixed traffic contrary to US)... All french providers (like OVH, OneProvider, Scaleway) use the same standard and bandwidth is never a problem and as you can see, our prices are very low...
 
For another project I pay $24 for a Xeon E3-1230 v2, 16GB DDR3, 2x 1TB and Unmetered@1Gbps (in France "unmetered" is not a problem because we have a lot of peering points in EU so it's real and btw nobody rents a server with fixed traffic contrary to US)... All french providers (like OVH, OneProvider, Scaleway) use the same standard and bandwidth is never a problem and as you can see, our prices are very low...
That is good server and let me guess, its in France? I might have to check it out
 
Back
Top