Note that there are some explanatory texts on larger screens.

plurals
  1. POApache+SVN Setup - Receiving Forbidden on some SVN requests but not all
    primarykey
    data
    text
    <p>Third party provided a server running Apache and SVN. However, I'm setting up the repo and access to it. </p> <p><strong>What does work</strong></p> <p>I can access the repos in the browser. My problem seems to be in running SVN commands with Versions or in the terminal. </p> <p>Checking out from trunk or branches with svn+ssh, along with committing to those locations.</p> <p><strong>What doesn't work</strong></p> <p>Creating branches with the copy command:</p> <pre><code>svn cp ^/trunk ^/branches/test -m'creating test branch' svn: Repository moved permanently to 'http://svn.server/repo/'; please relocate </code></pre> <p>Accessing the root directory of the repository</p> <pre><code>svn ls http://svn.server/repo svn: Repository moved permanently to 'http://svn.server/repo/'; please relocate </code></pre> <p>I recognize the svn error as a red herring. I see the following in the access log for every failed request:</p> <pre><code>60.60.60.60 - - [25/Apr/2012:09:15:24 -0700] "OPTIONS /Repo HTTP/1.1" 401 478 60.60.60.60 - TravisKs [25/Apr/2012:09:15:24 -0700] "OPTIONS /Repo HTTP/1.1" 301 315 </code></pre> <p>Seeing the access logs for my browsers request to the root directory (successful)</p> <pre><code>60.60.60.60 - - [25/Apr/2012:09:47:31 -0700] "GET / HTTP/1.1" 200 936 </code></pre> <p>So it seems there is an error in my configuration / security but haven't been able to find it.</p> <p>My vhost config</p> <pre><code>NameVirtualHost *:80 &lt;VirtualHost *:80&gt; DocumentRoot /var/www/svn/ ServerName svn.server ServerAlias svn.server &lt;Directory "/var/www/svn" &gt; Options Indexes FollowSymLinks AllowOverride All Allow from all Order allow,deny &lt;/Directory&gt; ErrorLog /var/log/svn.server.com-error_log CustomLog /var/log/svn.server.com-access_log common &lt;/VirtualHost&gt; </code></pre> <p>My SVN config</p> <pre><code>&lt;location "/repo"&gt; DAV svn SVNPath /var/www/svn/repo AuthType Basic AuthName "Subversion Repository" AuthUserFile /var/www/svn/repo/conf/passwd Require valid-user &lt;/location&gt; </code></pre> <p><strong>edit</strong></p> <p>Confirming the file permissions on the directories</p> <pre><code>/var/www [TravisKs@server ~]$ ls -la /var/www/svn total 10032 drwxr-xr-x. 3 root root 4096 Apr 23 16:46 . drwxr-xr-x. 7 root root 4096 Feb 13 14:33 .. drwxr-xr-x. 7 apache apache 4096 Apr 20 17:19 repo [TravisKs@server ~]$ ls -la /var/www/svn/repo/ total 1180 drwxr-xr-x. 7 apache apache 4096 Apr 20 17:19 . drwxr-xr-x. 3 root root 4096 Apr 23 16:46 .. drwxr-xr-x. 2 apache apache 4096 Apr 20 15:44 conf drwxr-xr-x. 3 apache apache 4096 Apr 20 17:19 dav drwxr-sr-x. 6 apache apache 4096 Apr 24 19:10 db -r--r--r--. 1 apache apache 2 Apr 20 14:18 format drwxr-xr-x. 2 apache apache 4096 Apr 20 14:18 hooks -rw-r--r--. 1 apache apache 1167874 Apr 20 14:34 import_log.txt drwxr-xr-x. 2 apache apache 4096 Apr 20 14:18 locks -rw-r--r--. 1 apache apache 229 Apr 20 14:18 README.txt </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload