![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Oct 2001
Posts: 6,693
|
.htaccess question
I'm trying to find a way to actually redirect hotlinkers to another page instead of just showing them the little red x image.
Is there a way to do this? I thought there was but I can't find it anywhere. Thanks.
__________________
<a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2002
Posts: 9,736
|
I could be wrong about this, but as far as i know, you can only redirect people that hotlink your image by opening it in a new window. If the person links to it on their page, they'll simply get the red X.
Anyways, to redirect someone opening your image... RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.redirecturl.com [R,NC] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2001
Posts: 6,693
|
Ahh. Okay, thanks.
![]() I'll just settle for the red x. ![]()
__________________
<a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Apr 2002
Posts: 9,736
|
No problem, but like i said.. i don't know.. if it could be done, i'd love to know how. That would be sweeeet =D
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
you could redirect it to another image, a 1k gif with your url...
Funny, I noticed someone using Getright on one of my sites tonight and I decided I wanted to do more than just block them so I wrote a little CGI script that creates an image with their ip and a 'please fuck off' message for them to download instead ( http://jamess.boxx.ca/cgi-bin/fuckoff_leecher.cgi ). I wouldn't use it against hotlinkers though as it would still suck up resources and bandwidth. cheers |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Apr 2002
Location: Mauritius
Posts: 1,118
|
hmm intressting information
|
![]() |
![]() ![]() ![]() ![]() ![]() |