Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: [Invalid]: Hot link  (Read 5301 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
[Invalid]: Hot link
« on: March 27, 2010, 03:24:25 pm »

I've created a hotlink image for people who hotlink images, I've see our images on other sites, checked the link and it refers back to our site.

I used these two sites

Here's my .htacess

Code: [Select]
RewriteEngine on

RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)? [NC]

RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)? [NC]

RewriteRule \.(jpg|jpeg|png|gif)$ [NC,R,L]

when I check to see if I can see the image i'm trying to hotlink, it still shows the gallery image I chose to view and not the hotlink image

Am I missing the point or some thing in my .htaccess file ?

TT ( karl )

« Last Edit: March 27, 2010, 04:27:18 pm by Joachim Müller »

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: Hot link
« Reply #1 on: March 27, 2010, 03:42:33 pm »

We provide support for Coppermine. Configuring Apache's mod_rewrite engine is certainly beyond the scope of this board.
You haven't followed the instructions of the tutorial to a T
Code: [Select]
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?rockinghamgateway\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|png)$ [L]
should do the trick as far as I can see. If it doesn't, ask your webhost for support - this is not the right place.

Additionally, you already have an open thread where you discuss exactly the same thing. We're not fond of cross-posting.
« Last Edit: March 27, 2010, 04:27:06 pm by Joachim Müller »
Pages: [1]   Go Up

Page created in 0.018 seconds with 20 queries.