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)
-   -   .htacces hotlink question !! slightly advanced (https://gfy.com/showthread.php?t=313820)

RaiDeN 06-17-2004 02:43 AM

.htacces hotlink question !! slightly advanced
 
Ok i need the following;

When someone hotlinks 1 of my pictures or movies i need to show a picture instead of the pic they "think" they are hotlinking (or a flashfile of thats possible)

(like many big freehosts do)

Thats step 1.

step 2, IF possible,

If the picture is loaded, i want to popup a site with it.

(when flashfile is possible, i can add the popup in the flash, so thats easier)


thanks in advance

Donners 06-17-2004 02:51 AM

try this

RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/ [NC]
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$)
RewriteRule /*$ http://www.aftonbladet.com/ [L,R] //redirect url

ClockWise 06-17-2004 02:52 AM

here is the solution for your first question:

RewriteEngine On
RewriteCond %haha123HTTP_REFERER} !^http://(www\.)?example\.com/ [NC]
RewriteCond %haha123HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|bmp|png)$ images/nohotlink.jpg [L]

RaiDeN 06-17-2004 03:40 AM

thanks guys :)


think that link to the hotlink image can me a link to a flashfile?

skinnay 06-17-2004 04:08 AM

http://i.domaindlx.com/donners/sig.jpg

is it just me or has this photo obviously been photoshopped?

maybe its my screen but arent there obvious squares with distortion around the numbers? cut and paste?

RaiDeN 06-17-2004 04:33 AM

^^ you sure you read the topic ?

skinnay 06-17-2004 04:36 AM

Quote:

Originally posted by RaiDeN
^^ you sure you read the topic ?
yes, i read the topic.

RaiDeN 06-17-2004 04:38 AM

then your reply makes no sense O.o:glugglug

skinnay 06-17-2004 04:48 AM

Quote:

Originally posted by RaiDeN
then your reply makes no sense O.o:glugglug
you mean "it wasn't an answer to my question"

RaiDeN 06-17-2004 04:49 AM

No i mean that your reply made no sense :)





:ak47:

skinnay 06-17-2004 05:03 AM

Quote:

Originally posted by RaiDeN
No i mean that your reply made no sense :)





:ak47:


skinnay 06-17-2004 05:05 AM

Quote:

Originally posted by RaiDeN
No i mean that your reply made no sense :)





:ak47:

damn enter key.. what is it that you dont understand? anything in particular?

Naughty 06-17-2004 05:23 AM

Quote:

Originally posted by RaiDeN
think that link to the hotlink image can me a link to a flashfile?
Not a chance.

Fabuleux 06-17-2004 05:56 AM

Quote:

Originally posted by skinnay
http://i.domaindlx.com/donners/sig.jpg

is it just me or has this photo obviously been photoshopped?

maybe its my screen but arent there obvious squares with distortion around the numbers? cut and paste?

That's normal when you save as JPEG, try it yourself. This picture should be saved as .GIF


All times are GMT -7. The time now is 05:44 PM.

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