0

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?

Community
  • 1
  • 1
Aske B.
  • 6,419
  • 8
  • 35
  • 62
  • what do you have in httpd.conf? – bahrep Oct 17 '12 at 11:39
  • Since you are setting up a new version control system, did you consider `git` instead of `svn` ? You really should consider `git` since it is more powerful. – Basile Starynkevitch Oct 17 '12 at 13:00
  • @BasileStarynkevitch I don't really need powerful, I just need quick and easy, and since I already know TortoiseSVN I figured it was easier to use svn, if you still think differently, and know how I could setup git easiely on a linux machine, I'd be grateful to know. – Aske B. Oct 17 '12 at 20:30
  • @bahrep `/etc/apache2/httpd.conf` is empty. According to https://wiki.archlinux.org/index.php/Subversion_Setup#.2Fetc.2Fhttpd.2Fconf.2Fhttpd.conf it says it should be located at `/etc/httpd/conf/httpd.conf` but I don't have a `httpd` folder in `etc`. What should be in there? – Aske B. Oct 18 '12 at 08:53

0 Answers0