You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Reid <da...@jetnet.co.uk> on 2006/02/17 02:01:51 UTC
auth in trunk is fubar
Had some problems getting a working auth config to let me spend time
developing on svn's authz module - when I tried 2.2 the exact same
config worked without a problem first time out of the box.
Houston, I think trunk's auth code is fubar.
Config is as follows,
<Location "/repos">
DAV svn
SVNParentPath "/home/david/repos"
AuthzSVNAccessFile /usr/local/apache2/conf/svn_access
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /usr/local/apache2/conf/svn_users
Satisfy any
<LimitExcept GET OPTIONS PROPFIND REPORT>
Require valid-user
</LimitExcept>
</Location>
Simple GET requests result in a password dialog! with a higher level of
output I see that the initial GET request is returned as OK, but it
moves onto asking for a password anyways.
david
Re: auth in trunk is fubar
Posted by Maxime Petazzoni <ma...@bulix.org>.
* David Reid <da...@jetnet.co.uk> [2006-02-17 01:01:51]:
> Had some problems getting a working auth config to let me spend time
> developing on svn's authz module - when I tried 2.2 the exact same
> config worked without a problem first time out of the box.
>
> Houston, I think trunk's auth code is fubar.
If you don't use mod_access_compat, Svn can't work with Apache trunk
because it makes a call to ap_satisfies() -in the auth code of
Subversion.
This call should be changed to something similar in the new Apache
auth mechanism, but my knowledge is too limited to find a remplacement
call.
If you use mod_acess_compat, sorry, no clue.
- Sam
--
Maxime Petazzoni (http://www.bulix.org)
-- gone crazy, back soon. leave message.
Re: auth in trunk is fubar
Posted by Brad Nicholes <BN...@novell.com>.
>>> On 2/16/2006 at 6:01:51 pm, in message <43...@jetnet.co.uk>,
david@jetnet.co.uk wrote:
> Had some problems getting a working auth config to let me spend time
> developing on svn's authz module - when I tried 2.2 the exact same
> config worked without a problem first time out of the box.
>
> Houston, I think trunk's auth code is fubar.
>
> Config is as follows,
>
> <Location "/repos">
> DAV svn
> SVNParentPath "/home/david/repos"
>
> AuthzSVNAccessFile /usr/local/apache2/conf/svn_access
>
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /usr/local/apache2/conf/svn_users
> Satisfy any
>
> <LimitExcept GET OPTIONS PROPFIND REPORT>
> Require valid-user
> </LimitExcept>
> </Location>
>
> Simple GET requests result in a password dialog! with a higher level
of
> output I see that the initial GET request is returned as OK, but it
> moves onto asking for a password anyways.
>
> davi
I can't speak for what is going on with svn's authz but the following
configuration works as expected:
<Location /secure>
AuthType Basic
AuthName Protected_Place
AuthUserFile conf/user.pwd
Satisfy Any
<LimitExcept GET OPTIONS PROPFIND REPORT>
Require valid-user
</LimitExcept>
</Location>
Of course with mod_access_compat loaded.
Brad