I used the following guide to setup a SVN server on a machine with Ubuntu:
How to setup a Subversion (SVN) server on GNU/Linux - Ubuntu
However, when I try to browse the svn directory (https://X.X.X.X/svn
) I get a "403 Forbidden" error.
In the error.log
file I get the following two lines every time:
Could not fetch resource information. [403, #0]
(2)No such file or directory: The URI does not contain the name of a repository. [403, #190001]
Abatishchev had a similar issue and he solved it by changing
<Location /svn>
to <Location /svn/>
and RedGlyph suggested adding the line RedirectMatch ^(/svn)$ $1/
to the configuration file.
None of these solutions changed anything for me though.
If I browse https://X.X.X.X/
I'm allowed in without authorization and can browse a folder called apache2-default
that contains the files svnindex.css
and svnindex.xsl
(which by a Google search seems like standard)
The goal is to have a working SVN server with authorized read and write access, with only a single repository (although the configurations in the guide makes it compatible with more).
How can I setup apache to do this?