Welcome to WebmasterWorld Guest from 54.145.144.101

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Block a specific IP with htaccess?

   
7:35 pm on Jul 15, 2004 (gmt 0)

10+ Year Member



Hi,
first, is there a way to determine the source of a specific IP?

Second, is there a way to block it with htaccess?

Thanks,
Brakkar

7:40 pm on Jul 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



deny from <ip address>

With regards the source of an IP, that's an open question because an IP address _is_ considered a "source" as far as the Internet is concerned...

7:45 pm on Jul 15, 2004 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



brakkar,

Welcome to WebmasterWorld [webmasterworld.com]!

Use ARIN, RIPE, APNIC, LACNIC, JPNIC, and KORNET (do a search for these) to look up IP-related information. Each of these covers only part of the world, so you may have to hop from one to the other to find what you need.

Jim

9:45 pm on Jul 15, 2004 (gmt 0)

10+ Year Member



See [flumps.org...] for a nice ip address layout list. Unfortunately it is not updated since a long time, but most of the information is still correct, the ownership of ranges does not change too often.
This contains the owner of the addresses/blocks/subnets, so if someone offending you, you are able to see in the list which provider you might need to contact about a certain machine/connection.
1:34 am on Jul 16, 2004 (gmt 0)

10+ Year Member



>block it with htaccess?
Here's a specific example. I use it to block data miners, whose robots are rude and greedy.

order allow,deny
deny from 63.148.***.
allow from all

- Mike T

[edited by: jdMorgan at 1:55 am (utc) on July 16, 2004]
[edit reason] Removed specifics, obfuscated URL [/edit]

3:58 pm on Jul 18, 2004 (gmt 0)

10+ Year Member



a week ago I was referred to a site that had an automated htaccess file generator for things like disabling hotlinking and other things, the site is down now and it says the account is "banned".?

<snip>

I found it to be a useful tool because my past experiences writing htaccess files were pretty lame and did not always work

is there any other automated htaccess file generator out there?

regards-
The Lazy Webmaster

[edited by: jdMorgan at 4:09 pm (utc) on July 18, 2004]
[edit reason] snipped specifics [/edit]

4:08 pm on Jul 18, 2004 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Have you tried a search on "online htaccess generator"?

Jim

6:03 pm on Jul 18, 2004 (gmt 0)

10+ Year Member



Have you tried a search on "online htaccess generator"?

of course not!

I am the Lazy Webmaster!

All right, I will get off my butt and do it. Oh wait! I don't HAVE to get off my butt to do it!

thanks!