You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matt Duffy <Ma...@kessler.com> on 2006/09/16 00:41:13 UTC

RE: 301 Moved Permanently ( Apologies )

Ack!

My apologies for so many duplicates of me emails going through.  I attribute that to an unfortunate combination of a flakey Exchange server, too much coffee and the fact that its Friday.

My issue with the 301 error was resolved as I mentioned in my earlier posting by using 'Alias / /path/to/svn/parent_dir' just before the <location> tag.  I hope that helps others who are experiencing the 301 error.

Cheers,
Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: 301 Moved Permanently ( Apologies )

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
On 9/17/2006 12:43 PM, Matt Duffy wrote:
> To be totally honest, NO, 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.
> 
> I fixed my problem by simply adding the line:
> 
> Alias / /path/to/repoitory/parent
> <Location />
> ###
> </Location>
> 
> 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.

Why not submit a patch to the FAQ?

Duncan Murdoch
> 
> Cheers,
> Matt
> 
> 
> 
> -----Original Message-----
> From: Erik Huelsmann [mailto:ehuels@gmail.com]
> Sent: Sat 9/16/2006 12:09 AM
> To: Matt Duffy
> Cc: users@subversion.tigris.org
> Subject: Re: 301 Moved Permanently ( Apologies )
>  
> This FAQ issue doesn't help:
> http://subversion.tigris.org/faq.html#http-301-error ?
> 
> bye,
> 
> Erik.
> 
> On 9/16/06, Matt Duffy <Ma...@kessler.com> wrote:
>> Ack!
>>
>> My apologies for so many duplicates of me emails going through.  I attribute that to an unfortunate combination of a flakey Exchange server, too much coffee and the fact that its Friday.
>>
>> My issue with the 301 error was resolved as I mentioned in my earlier posting by using 'Alias / /path/to/svn/parent_dir' just before the <location> tag.  I hope that helps others who are experiencing the 301 error.
>>
>> Cheers,
>> Matt
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 301 Moved Permanently ( Apologies )

Posted by Erik Huelsmann <eh...@gmail.com>.
On 9/17/06, Matt Duffy <Ma...@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

RE: 301 Moved Permanently ( Apologies )

Posted by Matt Duffy <Ma...@kessler.com>.
To be totally honest, NO, 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.

I fixed my problem by simply adding the line:

Alias / /path/to/repoitory/parent
<Location />
###
</Location>

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.

Cheers,
Matt



-----Original Message-----
From: Erik Huelsmann [mailto:ehuels@gmail.com]
Sent: Sat 9/16/2006 12:09 AM
To: Matt Duffy
Cc: users@subversion.tigris.org
Subject: Re: 301 Moved Permanently ( Apologies )
 
This FAQ issue doesn't help:
http://subversion.tigris.org/faq.html#http-301-error ?

bye,

Erik.

On 9/16/06, Matt Duffy <Ma...@kessler.com> wrote:
> Ack!
>
> My apologies for so many duplicates of me emails going through.  I attribute that to an unfortunate combination of a flakey Exchange server, too much coffee and the fact that its Friday.
>
> My issue with the 301 error was resolved as I mentioned in my earlier posting by using 'Alias / /path/to/svn/parent_dir' just before the <location> tag.  I hope that helps others who are experiencing the 301 error.
>
> Cheers,
> Matt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: 301 Moved Permanently ( Apologies )

Posted by Erik Huelsmann <eh...@gmail.com>.
This FAQ issue doesn't help:
http://subversion.tigris.org/faq.html#http-301-error ?

bye,

Erik.

On 9/16/06, Matt Duffy <Ma...@kessler.com> wrote:
> Ack!
>
> My apologies for so many duplicates of me emails going through.  I attribute that to an unfortunate combination of a flakey Exchange server, too much coffee and the fact that its Friday.
>
> My issue with the 301 error was resolved as I mentioned in my earlier posting by using 'Alias / /path/to/svn/parent_dir' just before the <location> tag.  I hope that helps others who are experiencing the 301 error.
>
> Cheers,
> Matt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org