Re: [users@httpd] access control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux