Re: How to allow a directory and don't allow a sub-directory?

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

 



Am 22.07.2014 17:20, schrieb Mark jensen:
I have tried to add:

<Directory /var/www/html/ldap//manager>
      Order allow,deny
      Allow from 192.168.1.2
      Satisfy any
      AuthName "LDAP Authentication"
      AuthType Basic

      AuthBasicProvider ldap
      AuthzLDAPauthoritative off
      AuthLDAPURL ldap://192.168.1.3/dc=example,dc=com?uid?sub?(objectClass=*)
      Require valid-user
</Directory>
Maybe you try "deny from 192.168.1.7" instead or in addition?

Cheers, Peter

-- 

http://function2form.net
http://peter-kuehnlein.net

"Being a retainer is nothing other than being a supporter of one's lord, entrusting matters of good and evil to him, and renouncing self-interest. If there are but two or three men of this type, the fief will be secure."
(Hagakure)

[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