Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-04-01, 12:06 PM   #1
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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|
kalle7 is offline   Reply With Quote
Old 2005-04-01, 12:14 PM   #2
ArtWilliams
You can now put whatever you want in this space :)
 
ArtWilliams's Avatar
 
Join Date: Sep 2004
Location: Toronto, Canada
Posts: 6,244
Send a message via ICQ to ArtWilliams
There is a lot of good stuff here:

http://www.htaccesstools.com/

including several scripts which will create the .htaccess for you.

Cheers,

...art
ArtWilliams is offline   Reply With Quote
Old 2005-04-01, 12:25 PM   #3
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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
kalle7 is offline   Reply With Quote
Old 2005-04-01, 12:27 PM   #4
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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|
kalle7 is offline   Reply With Quote
Old 2005-04-01, 07:48 PM   #5
BlueQuartz
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
BlueQuartz's Avatar
 
Join Date: Jun 2004
Posts: 175
hey kalle7 check these links out http://www.dnsstuff.com/ & http://network-tools.com/
BlueQuartz is offline   Reply With Quote
Old 2005-04-01, 08:14 PM   #6
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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
cd34 is offline   Reply With Quote
Old 2005-04-02, 02:18 AM   #7
GeorgeTH
Don't let a programmer design your front-end pages!
 
GeorgeTH's Avatar
 
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!
GeorgeTH is offline   Reply With Quote
Old 2005-04-03, 02:01 PM   #8
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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!
kalle7 is offline   Reply With Quote
Old 2005-04-03, 05:42 PM   #9
BlueQuartz
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
BlueQuartz's Avatar
 
Join Date: Jun 2004
Posts: 175
Quote:
Originally Posted by kalle7
Thanks BlueQuartz, cd34 and George!
I will study these places further and try out the tips you have given.

I appriciate your help!
welcome kalle7!!!
BlueQuartz is offline   Reply With Quote
Old 2005-04-04, 02:18 PM   #10
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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
kalle7 is offline   Reply With Quote
Old 2005-04-04, 02:26 PM   #11
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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
cd34 is offline   Reply With Quote
Old 2005-04-04, 02:43 PM   #12
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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?
kalle7 is offline   Reply With Quote
Old 2005-04-04, 06:26 PM   #13
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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!
kalle7 is offline   Reply With Quote
Old 2005-04-04, 06:59 PM   #14
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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!
kalle7 is offline   Reply With Quote
Old 2005-04-04, 08:11 PM   #15
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
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.
kalle7 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 12:59 AM.


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