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

Re: another 301 problem

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-10-05 13:01:10 CEST

On Sep 30, 2005, at 22:03, Markus wrote:

> #Default web-dir
> <Directory "D:/www">
>
> NameVirtualHost *:81
> <VirtualHost *:81>
> DocumentRoot D:/svn
> <Directory D:/svn>
> DAV svn
> SVNParentPath D:/svn
> AuthType Basic
> AuthName "Subversion-Projektarchiv"
> AuthUserFile D:/svn_users
> Require valid-user
> </Directory>
> </VirtualHost>

That seems pretty wrong.... I think you want this:

<VirtualHost *:81>
     #DocumentRoot D:/www
     <Location />
         DAV svn
         SVNParentPath D:/svn
         AuthType Basic
         AuthName "Subversion-Projektarchiv"
         AuthUserFile D:/svn_users
         Require valid-user
     </Directory>
</VirtualHost>

You certainly don't want D:/svn to be the DocumentRoot, as it does
not contain any documents which Apache is supposed to deliver as-is.
(That's what a DocumentRoot is.) Rather, you want mod_dav_svn to
deliver it. I don't think you need any DocumentRoot at all. If Apache
won't let you leave it out, then set it to D:/www, or anything other
than D:/svn.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 5 13:04:40 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.