Cannot access svn repository in correct path

Solution 1:

OK, short blamestorming for your Apache's config

Your ServerName + Location + SVNPath means now:

For URL http://svn.mydomain.com/ open repository, created at /var/www/svn/REPOSITORY_NAME

If you haven't /var/www/svn/REPOSITORY_NAME directory or repository under this path, you'll get "Can't open file"+"Could not open the requested SVN filesystem" errors

If you want to have access to more than single repository under common base-path (svn.mydomain.com/repository1, svn.mydomain.com/repository2...) and place all repos as subdirs of /var/www/svn/ you have to:

  • Re-read SVN Book, Basic Apache Configuration chapter
  • Replace SVNPath by SVNParentPath and fix options accordingly
  • (Optional) Add SVNListParentPath on - see "Listing repositories" from "Repository browsing" section