Strangely I’ve had some people reporting issues with being prompted for a username and password when accessing files on svn.saiweb.co.uk

it would appear in mod_dav_svn-1.4.2-4.el5_3.1 that this directive: AuthzSVNNoAuthWhenAnonymousAllowed

now defaults to OFF, well that was a p.i.t.a trying to track down, having never seen that directive in ANY of the documentation …

Anyway pass this on to other facing the same issue.

Tags: , , , , , , ,
2 Responses to “mod_authz_svn / mod_dav_svn prompting for password”
  1. Dima Sabanin says:

    Great catch! Man, I wonder why they did not include this into release documents. It was completely unexpected when anonymous access stopped working when we upgraded Subversion.
    Thank you very much for posting this.

  2. cksum says:

    It seems to default to Off since it was introduced in the code: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_authz_svn/mod_authz_svn.c?r1=858738&r2=858754

    There is an error in the book however: http://svnbook.red-bean.com/en/1.5/svn.ref.mod_authz_svn.conf.html

    “Set to On to suppress authentication and authorization for requests which anonymous users are allowed to perform. The default value of this directive is On.”

  3.  
Leave a Reply