You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Doug Gorley <do...@shaw.ca> on 2003/12/07 00:29:01 UTC

Need help with web access to repos

Hi List,

I just installed 0.34.0 on my Gentoo box, and I'm trying to set up the 
http access.  My test repository is in /home/www/svn/test.  I'm running 
Apache 2.0.48, and the relevant section of my commonapache2.conf file 
looks like this:

  <Location /svn>
      DAV svn
      SVNPath /home/www/svn/test
      SVNIndexXSLT "/temp/svnindex.xsl"
  </Location>

This all seems to be working perfectly; when I load 
http://localhost/svn/ in my browser, I see the contents of the test 
repository, using the sample stylesheet included with Subversion.  the 
problem comes when I try to check out the repository on the command 
line; I thought the following command would work:

  $ svn checkout http://localhost/svn

But, I get the following error:

  svn: RA layer request failed
  svn: PROPFIND request failed on '/svn'
  svn: PROPFIND of '/svn': 301 Moved Permanently (http://localhost)

Am I doing something wrong?  I could use some advice.

Thanks,

Doug Gorley | douggorley (at) shaw (dot) ca



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

Re: Need help with web access to repos

Posted by Jim Sokoloff <ji...@sokoloff.com>.
On Mon, 8 Dec 2003, Ben Collins-Sussman wrote:

> On Sat, 2003-12-06 at 18:29, Doug Gorley wrote:
>
> >   svn: RA layer request failed
> >   svn: PROPFIND request failed on '/svn'
> >   svn: PROPFIND of '/svn': 301 Moved Permanently (http://localhost)
> >
> > Am I doing something wrong?  I could use some advice.
>
> I added this as a FAQ to the website:
>
> http://subversion.tigris.org/project_faq.html#301-error

Strange though; I have my repository exported this way
(Location overlapping with Document root in URL space)
and it works exactly like I'd expect (with Apache
2.0.[47|48] and subversion 0.27, 0.29, 0.32.1 and 0.34)


My Document Root is set to:
d:\svn\htdocs
which contains index.html and svn/ (for example)

One svn repository is exported as:
<Location /svn/intranet>

which you'll note overlaps (partially) with
d:\svn\htdocs\svn

I mention this not to contradict Ben, but to point out
that one CAN get the behavior that original poster might
be looking for, which is HTML documents "surrounding"
or "above" subversion repositories (informational pages
about them, etc)

---Jim

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

Re: Need help with web access to repos

Posted by Doug Gorley <do...@shaw.ca>.
Ben Collins-Sussman wrote:

>On Sat, 2003-12-06 at 18:29, Doug Gorley wrote:
>
>  
>
>>  svn: RA layer request failed
>>  svn: PROPFIND request failed on '/svn'
>>  svn: PROPFIND of '/svn': 301 Moved Permanently (http://localhost)
>>
>>Am I doing something wrong?  I could use some advice.
>>    
>>
>
>I added this as a FAQ to the website:
>
>http://subversion.tigris.org/project_faq.html#301-error
>
>
>  
>
Aha!  That fixed the problem.  Thanks for the tip!

Doug Gorley | douggorley (at) shaw (dot) ca

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

Re: Need help with web access to repos

Posted by Ben Collins-Sussman <su...@collab.net>.
On Sat, 2003-12-06 at 18:29, Doug Gorley wrote:

>   svn: RA layer request failed
>   svn: PROPFIND request failed on '/svn'
>   svn: PROPFIND of '/svn': 301 Moved Permanently (http://localhost)
> 
> Am I doing something wrong?  I could use some advice.

I added this as a FAQ to the website:

http://subversion.tigris.org/project_faq.html#301-error


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