RE: Need some ideas for Apache


Subject: RE: Need some ideas for Apache
From: Arthur Corliss (arthur@corlissfamily.org)
Date: Mon Feb 24 2003 - 11:32:54 AKST


On Mon, 24 Feb 2003, Leif Sawyer wrote:

> You could use an .htaccess file
> and limit the IP's that have accessability that way:
>
> $ cat .htaccess
> <Limit GET POST HEAD PUT>
> Order deny,allow
> deny from all
> allow from 192.168.1.0/24
> allow from 10.100.254
> allow from fnord.org
> allow from 172.16.31.252/32
> </Limit>
> <--------------------->8 snip 8<----------------------->
>
> That should give you enough examples..

If performance is a concern, put that in the DocumentRoot tag in the conf
file, so Apache doesn't have that extra file stat for .htaccess on every
request. . .

        --Arthur Corliss
          Bolverk's Lair -- http://arthur.corlissfamily.org/
          Digital Mages -- http://www.digitalmages.com/
          "Live Free or Die, the Only Way to Live" -- NH State Motto

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Mon Feb 24 2003 - 12:01:10 AKST