RE: Need some ideas for Apache


Subject: RE: Need some ideas for Apache
From: Mike Barsalou (mbarsalou@aidea.org)
Date: Mon Feb 24 2003 - 12:02:04 AKST


Not in this case, but thanks for the tip.

Mike

-----Original Message-----
From: Arthur Corliss [mailto:arthur@corlissfamily.org]
Sent: Monday, February 24, 2003 11:33 AM
To: Leif Sawyer
Cc: Mike Barsalou; 'aklug@aklug.org'
Subject: RE: Need some ideas for Apache

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:06:09 AKST