Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2003-11-03, 08:20 PM   #19
MrHackula
If something goes wrong at the plant, blame the guy who can't speak English
 
MrHackula's Avatar
 
Join Date: Sep 2003
Location: Montana
Posts: 32
Hello Linkster,

Thanks for the kind words, but I haven't put the file together yet...

Let's see if I can figure out a way to post this here without the board tweaking it:

RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} ^.*invisionfree.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^.*chatropolis.*$ [NC]
RewriteRule /* http://www.someothershit.com/ [R,L]

Just add the TGPs you dislike to the above code. Copy the fist line, the one with the [OR] on the end, and make as many entries as you like.

I suggest that you use a wildcard similar to what I have here. If you are being hijacked by tgp.russianscumsucker.com and you add this line:

PHP Code:
RewriteCond %{HTTP_REFERER} ^.*russianscumsucker.*$ [NC,OR] 
... what are the odds that you will catch something you didn't want to nuke?

Don't forget to trim any spaces off the end of the lines, as the board likes to add them.

Hope this addresses what you were hoping to achieve.

Let me know,

Mr. H.



Quote:
Originally posted by Linkster
MrHackula - great stuff - got here looking for a way to script unwanted domains to be redirected to another domain or page of choice.
An example would be - if I have a tgp gallery posted that gets listed on worldsex.com, and lets say www.jp-sex.com links to that gallery and I didnt submit it to them and really dont want their surfers eating my bandwidth without being able to sell them something, I'd like to send them to another page that maybe includes some console and dialer chains they aren't hotlinking images just linking to a valid url that gets posted on one of the major TGPs. I just can't figure a way to do this without affecting the other TGPs I do want to have access?
__________________
Integrity = Longevity
MrHackula is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 01:22 AM.


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