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)
-   -   woj, smokey? any htaccess experts? (https://gfy.com/showthread.php?t=743432)

Sosa 06-16-2007 09:53 PM

woj, smokey? any htaccess experts?
 
Ok, I want to fuck with this tv news station blog that is hotlinking images off of one of my sporst blog. This dumbass sports news anchor is hotlinking my images on his blog.

I use the same image/url on my sports blog so I can't just change the image out, but is there a way where I can say if it is being hotlinked from a certain url, that it woudl load a different image or do something else?

SmokeyTheBear 06-16-2007 10:05 PM

Code:

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www\.)?bad_domain\.com [NC]
RewriteCond %{REQUEST_URI} /image.jpg
RewriteRule .* http://www.mydomain.com/otherpic.jpg [R=301,L]


this should work

martinsc 06-16-2007 10:13 PM

Quote:

Originally Posted by SmokeyTheBear (Post 12611839)
Code:

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www\.)?bad_domain\.com [NC]
RewriteCond %{REQUEST_URI} /image.jpg
RewriteRule .* http://www.mydomain.com/otherpic.jpg [R=301,L]


this should work

thanks. i need that too :)

Scroto 06-16-2007 10:16 PM

gonna tub girl them or what? :1orglaugh

Sosa 06-16-2007 10:17 PM

Quote:

Originally Posted by Scroto (Post 12611868)
gonna tub girl them or what? :1orglaugh

not sure yet lol.

Scroto 06-16-2007 10:50 PM

Quote:

Originally Posted by Sosa (Post 12611871)
not sure yet lol.

i vote yes, teach them a lesson lol

BusterBunny 06-16-2007 11:32 PM

Quote:

Originally Posted by Scroto (Post 12611955)
i vote yes, teach them a lesson lol

:thumbsup:pimp

bonkerz2007 06-17-2007 12:28 AM

Quote:

Originally Posted by Scroto (Post 12611868)
gonna tub girl them or what? :1orglaugh

that is some funny shit ... hmmm might have to try that one.

SmokeyTheBear 06-17-2007 01:27 AM

btw that should be in the folder the pic is in

GrouchyAdmin 06-17-2007 01:40 AM

I'd just fail the hotlink picture, but ******* and Goatse are timeless. :thumbsup

grumpy 06-17-2007 02:13 AM

http://www.javascriptkit.com/howto/htaccess.shtml

has some good info

boneless 06-17-2007 05:41 AM

www.htaccesstools.com for fast generation of htaccess parts ;)

Andiz 06-17-2007 06:36 AM

Quote:

Originally Posted by Sosa (Post 12611871)
not sure yet lol.

I wouldn't do that if I were you.... :)


All times are GMT -7. The time now is 09:45 PM.

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