'require' keyword

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

 



Hi,

I want to check 2 things here regarding 'require' keyword.

I have this directive:

<Location /svn/ABC/XYZ>
DAV svn
SVNParentPath /jupiter/export/ABC/XYZ/
AuthBasicProvider ldap
AuthLDAPUrl ldap://....
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
AuthType Basic
AuthName "Please enter your credentials"
....
</Location>


Now if I want to restrict a directoy under XYZ: /svn/ABC/XYZ/123 and give access to specific ldap users, should I proceed this way:

create a new directive:
<Location /svn/ABC/XYZ/123>
DAV svn
SVNParentPath /jupiter/export/ABC/XYZ/123
AuthBasicProvider ldap
AuthLDAPUrl ldap://....
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user  <--- change here to Require followed by the ldap username. Repeat this for all users
</LimitExcept>
AuthType Basic
AuthName "Please enter your credentials"
....
</Location>


Let me know if this is true.


Also, this requires a graceful restart so I need to know whether having an external file can replace the require keyword and the restart.


thank you


      


---------------------------------------------------------------------
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