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

Re: 301 Moved Permanently ( Apologies )

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-09-17 21:22:50 CEST

On 9/17/06, Matt Duffy <Matt_Duffy@kessler.com> wrote:
> To be totally honest, NO,

No need to shout at me like that! I can shout too!

YOU SHOULD LEARN TO READ BETTER!

Because you just waisted an hour each of 2 Subversion developers to
find out that your configuration indeed doesn't work because YOUR
CONFIGURATION CONTAINS THE DOCUMENTROOT WHICH THE FAQ TELLS YOU NOT TO
DO!!! All variants of your configuration which don't include the
documentroot actually do work...

I'm sorry, but I really feel that we generally do our homework and if
you have any additions to the FAQ for cases not coverd by it, please
do submit them as patches and we'll be happy to include them (or solve
the bug, if it is one).

> that FAQ didn't help me, and I don't think it helps a vast majority of people who encounter the 301 error, or else there wouldn't be so many people continually posted new threads asking about it. I am not trying to be rude or anything, but that FAQ seems, to me at least, to cover a very specific issue. And that is not the issue I was having. I did not have any weird overlap in my DocumentRoot vs <Location> filesystem paths. My issue seems to stem entirely from the fact that Subversion (at least 1.3.1 installed with Apache 2.0.x) doesn't handle a <Location /> directive gracefully.

Then what does the DocumentRoot directive do in the snippet from your
first post below?

---- snippet
<VirtualHost *:80>
   ServerName svn.example.com
   ServerAlias svn
   DocumentRoot /Volumes/Vsites/SVNRepository

   <Directory /Volumes/Vsites/SVNRepository>
       DirectoryIndex index.php
       Options Indexes
       AllowOverride None
       Order allow,deny
       Allow from all
   </Directory>
------ /snippet

> Now, I readily admit I am no expert with either Apache or Subversion, but adding that Alias line fixed my problem and I don't see how its related in any way to what http://subversion.tigris.org/faq.html#http-301-error is specifically addressing. Believe me, I wouldn't have created yet another new 301 thread if I felt the FAQ addressed my problem.

I have no idea why the Alias fixes your problem...

bye,

Erik.

PS: No hard feelings, but please, don't shout. I try to help out, you
know, in my own time as a volunteer...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 17 21:23:30 2006

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.