httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Melanie Pfefer <melanie_pfe...@yahoo.co.uk>
Subject Re: [users@httpd] 'require' keyword
Date Thu, 20 Aug 2009 14:43:37 GMT
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@gmail.com> wrote:

> From: Eric Covener <covener@gmail.com>
> Subject: Re: [users@httpd] 'require' keyword
> To: users@httpd.apache.org
> Date: Thursday, 20 August, 2009, 4:20 PM
> On Thu, Aug 20, 2009 at 7:54 AM,
> Melanie
> Pfefer<melanie_pfefer@yahoo.co.uk>
> 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@gmail.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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache..org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

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