|
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
2005-04-01, 12:06 PM | #1 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
Blocking domains in htaccess and looking up ip adress
Hi all,
I have some questions that I hope you could help me out with. There are some sites that are linking to my galleries and free sites and sending loads of traffic (that does not convert). I would like to block these domains from linking to my things, but dont know how to do it. I have blocked fusker and sites like that with my htaccess file, but I have no idea how to block domains or ip adresses. Also I would like to ask if someone knows how to look up other domains ip adresses. I dont know if I ask the question the correct way so feel free to correct me. Thanks everybody! |cool| |
2005-04-01, 12:14 PM | #2 |
You can now put whatever you want in this space :)
|
There is a lot of good stuff here:
http://www.htaccesstools.com/ including several scripts which will create the .htaccess for you. Cheers, ...art |
2005-04-01, 12:25 PM | #3 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
Hi Art!
Thanks for that link - I appriciate that! That fixed my linking problem in a sec. I really liked the redirection tool. Now I just gotta find a pay pr click sponsor lol |
2005-04-01, 12:27 PM | #4 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
I am still interested in how to look up ip adresses from a domain if someone has got some info on that |viking|
|
2005-04-01, 07:48 PM | #5 |
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
Join Date: Jun 2004
Posts: 175
|
hey kalle7 check these links out http://www.dnsstuff.com/ & http://network-tools.com/
__________________
THE BIGGEST LIST OF EPASSPORTE SPONSORS YOU HAVE EVER SEEN |
2005-04-01, 08:14 PM | #6 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
whois.sc also provides some reverse lookup capabilities but requires a 'free' registration
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2005-04-02, 02:18 AM | #7 |
Don't let a programmer design your front-end pages!
Join Date: Aug 2003
Location: currently on the road in CA
Posts: 781
|
simple dos prompt tracert does it too:
open "Command Prompt" type behind the >tracert domain.com first thing you get is "Tracing route to domain.com [123.456.78.90]" and then you can see which way the traffic moves, and where it might stall = also good to check own domain
__________________
Have a nice day! |
2005-04-03, 02:01 PM | #8 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
Thanks BlueQuartz, cd34 and George!
I will study these places further and try out the tips you have given. I appriciate your help! |
2005-04-03, 05:42 PM | #9 | |
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
Join Date: Jun 2004
Posts: 175
|
Quote:
__________________
THE BIGGEST LIST OF EPASSPORTE SPONSORS YOU HAVE EVER SEEN |
|
2005-04-04, 02:18 PM | #10 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
I seem to have a problem getting this domain blocking thing to work in htaccess:
This one works: RewriteEngine On RewriteCond %{HTTP_REFERER} ^http://www.top-teen-sex.com/ RewriteRule /* http://www.google.com [R,L] But if I add one more domain to the blocking list it does not work anymore: RewriteEngine On RewriteCond %{HTTP_REFERER} ^http://www.top-teen-sex.com/ RewriteCond %{HTTP_REFERER} ^http://sex-in-school.com/ RewriteRule /* http://www.google.com [R,L] Does anyone know what I am doing wrong and can suggest a better way to do this. I also tried the http://www.htaccesstools.com/block-hitbots/ , but it only works with one domain blocked. Drives me nuts lol |
2005-04-04, 02:26 PM | #11 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
RewriteRule .* http://www.google.com [R,L]
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2005-04-04, 02:43 PM | #12 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
Hi cd34, thank you for the tip, but I still does not work on multiple banned domains.
When I have just one domain it works, but not on several. Could it be something wrong with my server? Any ideas? |
2005-04-04, 06:26 PM | #13 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
Seems like I have found a solution to my problem and will post it here if someone else needs it also.
RewriteEngine On RewriteCond %{HTTP_REFERER} ^http://www.domain-name.com/ [OR] RewriteCond %{HTTP_REFERER} ^http://www.domain-name.com/ [OR] RewriteRule /* http://www.google.com [R,L] Perhaps one of the moderators would be so kind to remove the old ones where I have posted the domains that have linked to me so that they will not get any SE attention. I thought I could remove it after, but I dont have the option. Thanks! |
2005-04-04, 06:59 PM | #14 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
Please do not use the code I have posted above. I thought it would work, but it redirects all traffic and that was not the purpose. I am very sorry about this and I am still open to suggestions on problem. Thanks!
|
2005-04-04, 08:11 PM | #15 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
Join Date: Jan 2004
Location: Here and there...
Posts: 182
|
Sorry for making a huge mess here, but now I have got it working lol
http://www.htaccesstools.com/block-hitbots/ Make sure you put in the domains like this: domainname.com/ or else it will not work. |
|
|