Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Re: Block domain address from web server

To: itools@xxxxxxxxxxxxxxx
Subject: Re: Block domain address from web server
From: Mike Schienle <mgs@xxxxxxxxxxxxxx>
Date: Tue, 20 May 2003 08:28:39 -0600
Following up to myself here. Thanks to O'Reilly's Webmaster in a Nutshell - http://www.oreilly.com/catalog/webmaster3/ - available via Safari, here's the info:

deny from hostname hostname ...
[Within <Directory> or .htaccess]

The deny directive specifies which hosts are denied access to a directory. The hostname can be one of the following:

Domain name
    A domain name, like .oreilly.com. Hosts from that domain are denied access.

Hostname
    A full hostname.

Full IP address
    The IP address of a host.

Partial IP address
    The first 1 to 3 bytes of an IP address, for subnet restriction.

Network address with netmask
A full network address, followed by a full netmask. (i.e., 192.168.220.110/255.255.255.0), or by an abbreviated netmask. (i.e., 192.168.220.110/24 is equivalent to 192.168.220.110/255.255.255.0)


all
    Using the word all means that all hosts are denied access.

On Tuesday, May 20, 2003, at 08:01 AM, Mike Schienle wrote:

Hi all -

I'm seeing a bunch of abuse from a particular domain that I'm considering blocking from my server. I just got about 100 attempts at looking for various admin-type pages, generated about two seconds apart. The IP address wasn't the same, but the trailing part of the domain was (i.e. variable.const.const.net). I understand I can use the following to block an IP address, but don't know what I need to enter for a domain or a range of IP addresses. Can someone pass along the info for either a domain or a range of IP addresses?

For a single IP address, this can be entered in the .htaccess file:
<Limit GET>
order deny,allow
deny from aa.bb.cc.dd
</Limit>

Mike Schienle

---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to itools-request@xxxxxxxxxxxxxxx
with the body only containing: unsubscribe
Find the searchable mailing list archives at:
http://itools.blackpepper.co.nz/

Mike Schienle

---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to itools-request@xxxxxxxxxxxxxxx
with the body only containing: unsubscribe
Find the searchable mailing list archives at:
http://itools.blackpepper.co.nz/

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists