[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 301 with mod_dav / https

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Wed, 12 Jan 2011 08:17:52 -0600

On Jan 12, 2011, at 08:12, Jehan PROCACCIA wrote:
>> Ryan Schmidt wrote:
>>> Remove the lines:
>>> Alias /svn "/home/svn"
>>> <Directory /home/svn>
>>> AllowOverride all
>>> </Directory>
>>> Apache is confused because you have told it you want it to serve /svn as static files located in /home/svn (the Alias directive and the<Directory /home/svn> section) and also that you want it to serve /svn as a collection of Subversion repositories (the<Location /svn> block); use only one or the other, depending on what you want (probably you want the<Location /svn> block only).
> unfortunalty that doesn't solve my case, I'am still facing the "301" pb
> There is no <Directory> directive in my case, here's what I have:
> Alias /disi /var/svn/disi
> <Location /disi>
> DAV svn
> SVNParentPath /var/svn/disi


The Directory block wasn't the problem; it was merely unnecessary. The problem is the Alias directive. Remove the line:

Alias /disi /var/svn/disi
Received on 2011-01-12 15:18:41 CET

This is an archived mail posted to the Subversion Users mailing list.