Unexpected behaviour with SVNPath/SVNParentPath mixture
From: <Ullrich.Jans_at_elektrobit.com>
Date: Thu, 24 Mar 2011 15:12:17 +0000
Hi,
we're trying to set up the following config:
http://svnserver/svn/parentpathtest
The internal users of the project are supposed to be able to access all three repositories, while a bunch of external users are supposed to be able to access only repo2. We've been trying to achieve this with the following config:
<Location /svn/parentpathtest>
<Location /svn/parentpathtest/repo2>
According to http://httpd.apache.org/docs/current/sections.html#mergin , this should be possible, with the latter <Location> overwriting the former. The intended config is much larger, with about 100 repos under parentpathtest and about 20 location-Tags with extended permissions and the project having permission to add new repositories on their own, so just going the route with fully specifying all locations with just SVNPath would be inconvenient.
Unfortunately, this seems to cause some weird doubling of a path component:
ulja2852@er00483p:~/tmp/parentpathtest/repo2$ svn co http://svn/svn/parentpathtest/repo2/module_template/trunk/
This happens in various combinations of trailing slashes in URL or config (some cause to match the main Location instead).
I tried to find out what happened with Wireshark (follow tcp stream, cleaned up/anonymized the output with <xxx>):
-----------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><D:options xmlns:D="DAV:"><D:activity-collection-set/></D:options>
HTTP/1.1 200 OK
<?xml version="1.0" encoding="utf-8"?>
PROPFIND /svn/parentpathtest/repo2/module_template/trunk HTTP/1.1
<?xml version="1.0" encoding="utf-8"?><propfind xmlns="DAV:"><prop><version-controlled-configuration xmlns="DAV:"/><resourcetype xmlns="DAV:"/><baseline-relative-path xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid xmlns="http://subversion.tigris.org/xmlns/dav/"/></prop></propfind>
HTTP/1.1 207 Multi-Status
<?xml version="1.0" encoding="utf-8"?>
PROPFIND /svn/parentpathtest/repo2/repo2/!svn/vcc/default HTTP/1.1
<?xml version="1.0" encoding="utf-8"?><propfind xmlns="DAV:"><prop><checked-in xmlns="DAV:"/></prop></propfind>
HTTP/1.1 404 Not Found
1e
<?xml version="1.0" encoding="
af
ISO-8859-1"?>
e
en" xml:lang="
13
en">
38
Object not found!</title>
11f
<xxxx>" />
<body>
1b
Object not found!</h1>
39
The requested URL was not found on this server.
57
If you entered the URL manually please check your
2
9
</p>
48
If you think this is a server error, please contact
37
<xxxx>">webmaster</a>.
11
</p>
<h2>Error
21
404</h2>
10
svn</a><br />
9
<span>
21
Thu Mar 24 15:50:14 2011<br />
3d
Apache/2.2.15 (Linux/SUSE)</span>
1
0
-----------------------------------------------------
It seems something doubles the repo2 component of the path, and the something is server-side.
Client is running svn-1.6.12, server is running svn-1.6.11.
What am I doing wrong?
Best regards
Ullrich Jans
-- Ullrich Jans, Specialist, IT-A Phone: +49 9131 7701-6627, mailto:ullrich.jans_at_elektrobit.com Fax: +49 9131 7701-6333, www.elektrobit.com Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany Managing Directors: Otto Fößel, Jarkko Sairanen Register Court Fürth HRB 4886 ---------------------------------------------------------------- Please note: This e-mail may contain confidential information intended solely for the addressee. If you have received this e-mail in error, please do not disclose it to anyone, notify the sender promptly, and delete the message from your system. Thank you.Received on 2011-03-24 16:12:52 CET |
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.