title: SVN, trailing slash in Location directive works on browser, but gives 403 error if removed
body: <p>I am setting up SVN on a Red Hat Linux machine. My scenario is that I have two projects in the same directory:</p>
  
  <ul>
  <li><code>/var/www/svn/proj1</code></li>
  <li><code>/var/www/svn/proj2</code></li>
  </ul>
  
  <p>My subversion.conf has the following configurations:</p>
  
  <pre><code>&lt;Location /svn/proj1&gt;
      DAV svn
      SVNPath /var/www/svn/proj1
      AuthzSVNAccessFile /etc/svn_proj1-acl-conf
      AuthType Basic
      AuthName "Subversion repos"
      AuthUserFile /etc/svn-auth-conf
      Require valid-user
  &lt;/Location&gt;
  
  &lt;Location /svn/proj2/&gt;
      DAV svn
      SVNParentPath /var/www/svn/proj2
      SVNListParentPath on
      AuthzSVNAccessFile /etc/svn_proj2-acl-conf
      AuthType Basic
      AuthName "Subversion repos"
      AuthUserFile /etc/svn-auth-conf
      Require valid-user
  &lt;/Location&gt;
  </code></pre>
  
  <p>For project1 my URL <a href="http://www.example.com/svn/proj1" rel="nofollow noreferrer">http://www.example.com/svn/proj1</a> works pretty good, but for project2 I need to add trailing slash in the end of URL, <a href="http://www.example.com/svn/proj2/" rel="nofollow noreferrer">http://www.example.com/svn/proj2/</a> or else it doesn't return with a user/password window.</p>
  
  <p>If I remove the trailing slash from the location directive,</p>
  
  <pre><code>&lt;Location /svn/proj2&gt;
  </code></pre>
  
  <p>then it starts giving a <code>403 Forbidden</code> error, no matter if I use a slash or not in the browser.</p>
  
  <p>I am using it with TortoiseSVN, but project2 isn't working at all.</p>
  
  <p>What should I look at in configurations?</p>