This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Image Hotlinking With HTTPS
Author
Message |
leen3o
Newbie


Joined: 13 October 2008
Location: United Kingdom
Posts: 14
Posted: 05 September 2011 at 6:29am

I am using the following rule to stop people hotlinking/leeching my sites images - But just
stumbled upon a problem when you go from 'http' to 'https' on the same site and all the images
are changed/blocked.

How can I edit this to allow http and https on the same site??

RewriteCond %{HTTP:Host}#%{HTTP:Referer} ^([^#]+)#(?!http://\1).+
RewriteRule .*\.(?:gif|jpg|png) /block.gif [NC]
Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 06 September 2011 at 7:12am

Please, provide the rewrite.log for the testing request.
Logging issues are described in FAQ

Regards
Andrew
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version