You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Edward Rudd <ed...@omegaware.com> on 2004/03/22 22:28:55 UTC
SVN Repository located at webroot and 301 errors.
I was setting up subversion with an svn.myhost.tld setup using location
in apache 2
<Location />
DAV svn
SVNParentPath /path/to/repos
# All the standard auth stuff here
</Location>
and things work fine for almost all activities on the repository.
for example a CO normal operations on the /trunk work as expected.
svn co http://svn.myhost.tld/project1/trunk project1
as well as a log
svn log http://svn.myhost.tld/project1/trunk project1
However if I try to do
svn log http://svn.myhost.tld/project1/
I receive a 301 message when the svn client tries to access
http://svn.myhost.tld/project1
and the 301 redirects to
http://svn.myhost.tld/project1/
I temporarily changed the location to /svn and ran the svn log command
on the root of the repository (http://svn.myhost.tld/svn/project1/) and
it worked as it should.
Then i changed it back to /, and looked at my access logs and recreated
the query with telnet
# telnet svn.myhost.tld http
PROPFIND /project1/!svn/vcc/default HTTP/1.0
Host: svn.myhost.tld
Depth: 1
And the expected output resulted.
Or
PROPFIND /project1/ HTTP/1.0
Host: svn.myhost.tld
Depth: 1
So it seems as though the client not sending the trailing / is causing
the problems OR the client should follow the 301 redirect.
--
Edward Rudd <ed...@omegaware.com>
Website http://outoforder.cc/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org