[CentOS] .htaccess

Fri May 1 16:57:16 UTC 2009
Les Mikesell <lesmikesell at gmail.com>

Matt wrote:
> I use the following .htaccess file to restrict access to certain web
> folders to only my IP pool.
> 
> Options +Indexes
> order allow,deny
> allow from x.x.x.
> 
> Is there anyway to allow a user right in if there in that IP pool but
> require a password if there not?
>

Yes, see the 'Satisify' directive
http://httpd.apache.org/docs/2.2/mod/core.html#satisfy

-- 
   Les Mikesell
    lesmikesell at gmail.com