Re: 'require' keyword

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

 



Hi,

<Location /svn/XYZ/ABC>
DAV svn
SVNParentPath /jupiter/svnlinks/svn/XYZ/ABC/
Options FollowSymLinks
AuthBasicProvider ldap
AuthLDAPUrl ldap://.....
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
AuthType Basic
AuthName "Please enter your credentials"
AuthLDAPBindDN .....
AuthLDAPBindPassword ......
AuthZLDAPAuthoritative off
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
</Location>


<Location /svn/XYZ/ABC/123>
DAV svn
SVNParentPath /jupiter/svnlinks/svn/XYZ/ABC/123/
Options FollowSymLinks
AuthBasicProvider ldap
AuthLDAPUrl ldap://.....
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require user user1
Require user user2
</LimitExcept>
AuthType Basic
AuthName "Please enter your credentials"
AuthLDAPBindDN ......
AuthLDAPBindPassword ....
AuthZLDAPAuthoritative off
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
</Location>


[error] [client xxxxxx] access to /svn/XYZ/ABC/123/ failed, reason: user 'user1' does not meet 'require'ments for user/valid-user to be allowed access


I also tried to get rid of <LimitExcept GET PROPFIND OPTIONS REPORT>

AuthLDAPUrl ldap://.....
Require user user1
Require user user2
AuthType Basic

But I always got Forbiden

What is weird is that I got only one entry in the error log despite several trials.




--- On Thu, 20/8/09, Eric Covener <covener@xxxxxxxxx> wrote:

> From: Eric Covener <covener@xxxxxxxxx>
> Subject: Re:  'require' keyword
> To: users@xxxxxxxxxxxxxxxx
> Date: Thursday, 20 August, 2009, 4:20 PM
> On Thu, Aug 20, 2009 at 7:54 AM,
> Melanie
> Pfefer<melanie_pfefer@xxxxxxxxxxx>
> wrote:
> > let me rephrase my question
> >
> > I have
> >
> > <Location .../abc/>
> > Require valid-user
> > </Location>
> >
> > <location  abc/xyz>
> > Require user user1 user2
> > ....
> > </Location>
> 
> 
> Post your verbatim configuration and your error log entry.
> 
> -- 
> Eric Covener
> covener@xxxxxxxxx
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 

Send instant messages to your online friends http://uk.messenger.yahoo.com 


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