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?
|