Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2003-10-12, 05:30 PM   #1
fetish1
Remember to rebel against the authorities, kids!
 
fetish1's Avatar
 
Join Date: Apr 2003
Location: North Dakota AKA Frozen Hell
Posts: 401
Send a message via ICQ to fetish1 Send a message via AIM to fetish1 Send a message via Yahoo to fetish1
Hotlinker Block?

Can someone please post the htaccess code that I need to redirect a particular domain to a page I WANT them to go to in a directory they are hotlinking pics from? Hope that makes sense!
fetish1 is offline   Reply With Quote
Old 2003-10-15, 01:33 PM   #2
fetish1
Remember to rebel against the authorities, kids!
 
fetish1's Avatar
 
Join Date: Apr 2003
Location: North Dakota AKA Frozen Hell
Posts: 401
Send a message via ICQ to fetish1 Send a message via AIM to fetish1 Send a message via Yahoo to fetish1
Hmmmm, ok trying this again. Can someone PLEASE tell me how to redirect a particular domain in my htaccess to a page I want to send them to if they are hotlinking? I don't want them to go to the regular index page that my htaccess is set for...I want to send them to a hell page and I know that someone mentioned ages ago being able to redirect a particular domain to a different page.
fetish1 is offline   Reply With Quote
Old 2003-10-15, 02:40 PM   #3
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
This code is designed to redirect from any given domain.....


RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} ^.*badsite1.*$ [OR]
RewriteCond %{HTTP_REFERER} ^.*badword.*$
RewriteRule /* http://www.yoursite.com/fucking-hell/ [R,L]

Please notice that it will pick up badsite1.org, badsite1.net, badsite1.com or even a file called badsite1.html ...... so be careful how you use this.

For example do not include "goog" or you will redirect all your Google traffic.

~~~~~~~~~~~~~~~~~~~~~~~~~

If this is not doing it you need a straight forward .htaccess jpg/gif protection .... see http://www.cleosxxxlinks.com/adult-l...ster-help.html


Last edited by urb; 2003-10-15 at 02:43 PM..
urb is offline   Reply With Quote
Old 2003-10-15, 02:46 PM   #4
fetish1
Remember to rebel against the authorities, kids!
 
fetish1's Avatar
 
Join Date: Apr 2003
Location: North Dakota AKA Frozen Hell
Posts: 401
Send a message via ICQ to fetish1 Send a message via AIM to fetish1 Send a message via Yahoo to fetish1
urb,

You are wonderful! That's exactly what I want! Thanks for the help
fetish1 is offline   Reply With Quote
Old 2003-10-15, 02:49 PM   #5
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
fetish1



You see folks, I don't always scare people into deleting whole threads.
urb is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:30 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc