I couldn't find an answer for this error, but have sorted it out and
thought others might find it useful.
Problem was that the top level of the repository could be browsed
through http, but tortoise gave error 301 "Moved Permanently" if
attempts were made to access the repository. Note that this is on a
Windows SubVersion server, but the same error appears to happen in some
Linux installations (though I don't run into it in my own Linux
installations of SubVersion). Apparently browser access through dav_svn
can require Linux style slashes for the path, while repository access
uses Windows style backslashes for the path. So the following example
of mixed path formats for location and directory cures the problem:
<Location /Docs>
DAV svn
SVNPath "C:/svn/documents/Docs"
Order Deny,Allow
Deny from All
Allow from 111.111.11
AuthType Basic
AuthName "repository"
AuthUserFile "C:\Program Files\Apache Group\Apache2\passwords"
Require valid-user
</Location>
<Directory "C:\svn\documents\Docs">
DAV svn
SVNPath "C:\svn\documents\Docs"
Order Deny,Allow
Deny from All
Allow from 111.111.11
AuthType Basic
AuthName "repository"
AuthUserFile "C:\Program Files\Apache Group\Apache2\passwords"
Require valid-user
</Directory>
I'm sure there is a cleaner way of doing this, but the above works.
--
Received on Sun Nov 13 22:28:16 2005