httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Salisbury" <salisb...@globe.gov>
Subject Re: [users@httpd] access control
Date Wed, 31 May 2006 23:09:48 GMT
yea.. you're going to need a couple more directives, and you may have to go 
to the online docs, or someone else may chime in, but my first stab would be
to add ..

<Directory ".../htdocs/secret">
AuthType Basic
AuthName "Magicenglish Files"
AuthBasicProvider file
AuthUserFile ".../passwd/passwords"
Require user username
Allow from #host list#

Order Deny,Allow
satisfy any

</Directory>

.. I think that'd do it.  I could be wrong.

-ds



----- Original Message ----- 
From: "Bobby Gontarski" <Gontarski@seznam.cz>
To: <users@httpd.apache.org>
Sent: Wednesday, May 31, 2006 4:33 PM
Subject: Re: [users@httpd] access control


>> I would guess you need a "satisfy any" directive.. but you're not posting
>> how you have things configured... so no se.
> 
> <Directory ".../Apache2.2/htdocs">
>       Options Indexes FollowSymLinks
>    AllowOverride None
>    Order allow,deny
>    Allow from #host list#
> </Directory>
> 
> This is the following directory directive I want protected if the IP is in allow if not
use passwords file
> 
> <Directory ".../htdocs/secret">
>   AuthType Basic
>   AuthName "Magicenglish Files"
>   AuthBasicProvider file
>   AuthUserFile ".../passwd/passwords"
>   Require user username
>   Allow from #host list#
> </Directory>
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message