Henk P. Penning wrote on Sun, Jan 15, 2017 at 10:02:12 +0100: > Hi, >
Hello! > but (and this is the PROBLEM) the checkout command prompts > for a username/password : > > % svn co //svn.science.uu.nl/repos/project.mirmon/trunk > > With the "LimitExcept" lines in the config, the checkout > command works, although some errors appear in the log > (see below). > > So, it appears that the 'checkout' command does a > > PROPFIND /repos/project.mirmon/!svn/rvr/64/trunk > > which causes the username/password-prompt when the > "LimitExcept" lines are omitted. > > -- Does this diagnosis make sense ? > -- How do I make this work, without the LimitExcept trick ? LimitExcept is actually the documented recommendation; see http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz (second code snippet) The other option is to set two separate <Location> blocks, one for anonymous users (that excludes everything-but-trunk unconditionally) and one for authenticated users (that requires authentication for all operations). > Note : > -- The server is apache-2.4, but 2.2 appears to have probs too. > I wonder how authz_svn_module is supposed to work under 2.4 > proper (without the 'old' "satisfy any". Shouldn't authz_svn_module > set an environment variable in the case "r = *" (anonymous read) ? I'm not sure; ask dev@? Cheers, Daniel