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

root level checkouts

From: Shane Boulter <sboulter_at_ariasolutions.com>
Date: 2004-01-29 18:42:54 CET

Ok this is finally driving me nuts enough to ask the list. Sorry if
it's been covered before but I couldn't find anything in the archives
like what's going on here.

Basically what I have is a SVNParentPath with multiple repositories in
it. I found a link in the archives on how to add a .phtml file with a
redirect to be able to browse the top SVNParentPath. I also have web
folders enabled and these are working as well (Even though I don't like
having to create a web folder for each repository under the ParentPath).

Now the real problem comes when I want to do a checkout of the root level.

let's say that I have a repository called projA under the SVNParentPath.

SVNParentPath /usr/svn
Repository /usr/svn/projA

I can browse the /usr/svn/projA via web browser and it works great.
However if I want to do a checkout of the entire projA repository I keep
getting 301 Permenantly Moved Error. I realize that this seems to be
attributed to not having the trailing slash when trying a checkout of
the repository.

With a web browser I will get this in the logs

"GET /svn/projA/ HTTP/1.1" 200 904

But with a svn client (either tortoiseSVN or svn command line) I get

"PROPFIND /svn/projA HTTP/1.1" 301 436

This is one road block I can't seem to get through. If anyone has any
insight on it I'd sure appreciate it.

Here is my versions and such

http server:: apache 2.0.48
subversion:: subversion-0.37.0

httpd.conf

<Location /svn>
         DAV svn
         SVNParentPath /usr/svn
         SVNIndexXSLT "/svnindex.xsl"
         SVNAutoversioning On
</Location>
RewriteEngine on
RewriteRule ^/svn$ /svn_index.phtml [PT]
RewriteRule ^/svn/$ /svn_index.phtml [PT]
RewriteRule ^/svn/index.html$ /svn_index.phtml [PT]

Thanks Shane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 29 18:43:59 2004

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.