GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Little anti hotlink question...... (https://gfy.com/showthread.php?t=525294)

UltraSonic 10-07-2005 06:04 AM

Little anti hotlink question......
 
I have wrote this .htaccess file:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://iwantsexmovies.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.iwantsexmovies.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://iwantsexmovies.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.iwantsexmovies.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://213.193.250.2.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://213.193.250.2:80.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$|.*[Aa][Vv][Ii]$|.*[Ww][Mm][Vv]$ http://www.iwantsexmovies.com/hotlink.html

All works fine but if someone uses right/click save as they can still download files from any domain.

Any ideas?

X37375787 10-07-2005 06:09 AM

You still allow blank referrers.

RewriteCond %{HTTP_REFERER} !^$

Maybe I am wrong.

UltraSonic 10-07-2005 06:12 AM

Quote:

Originally Posted by Equinox
You still allow blank referrers.

RewriteCond %{HTTP_REFERER} !^$

Maybe I am wrong.

Yeha, works now, thx! :thumbsup

UltraSonic 10-07-2005 06:14 AM

Quote:

Originally Posted by Equinox
You still allow blank referrers.

RewriteCond %{HTTP_REFERER} !^$

Maybe I am wrong.

Actually that didn't work, well, it worked to good, now even rightclick downloaded the antihotlink page from my own domain.

Anybody else got any ideas?


All times are GMT -7. The time now is 04:41 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123