You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Gustave T. Stresen-Reuter" <te...@mac.com> on 2005/08/16 00:23:03 UTC
http protocol appears to fail with svn client
Hi,
I'm a complete newbie with Subversion but have heard so many good
things about it I thought this might be a good time to switch from CVS.
However, while trying to set up a new repository and opening up access
to it through WebDAV, I just can't seem to get it working.
svn import -m "Initial Import" . http://(domain name
obfuscated)/svn/clevernet_web
returns the following error
svn: MKCOL of
'/svn/clevernet_web/!svn/wrk/01d56aec-67fe-0310-9d91-e4b63d04b621/
vendors': 500 Internal Server Error (http://domain name obfuscated)
The Apache error log contains the following lines:
[Tue Aug 16 00:07:11 2005] [error] [client 192.168.1.33] The locks
could not be queried for verification against a possible "If:" header.
[500, #0]
[Tue Aug 16 00:07:11 2005] [error] [client 192.168.1.33] (2)No such
file or directory: Path is not accessible. [403, #405]
All permissions on the repository are set to the same user/group as
apache.
I am able to import the project using the file:// protocol and can view
its contents via a web browser but am unable to use the http://
protocol with the svn client.
Here is the configuration in httpd.conf
<Location /svn/clevernet_web>
DAV svn
SVNPath /var/www/svn/clevernet_web
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/svn-auth-file
Require valid-user
</Location>
I am able to authenticate via http without trouble (I set up the
svn-auth-file using htpasswd and it works fine).
BTW, I had NO luck using the SVNParentPath (but then again, I don't
really understand what it means, how it differs from SVNPath)
If there is any additional information you need to lend a hand, please
let me know and I'll send what I can.
SVN version: svn, version 1.2.1 (r15230)
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV)
protocol.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
Apache version: 2.0.52
Thanks in advance and I HOPE I can get this up and running!
Ted Stresen-Reuter
http://www.tedmasterweb.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: http protocol appears to fail with svn client
Posted by Ryan Schmidt <su...@ryandesign.com>.
On 16.08.2005, at 02:23, Gustave T. Stresen-Reuter wrote:
> BTW, I had NO luck using the SVNParentPath (but then again, I don't
> really understand what it means, how it differs from SVNPath)
That's an easy distinction. If you had created two repositories like
this:
cd /path/to/repositories
svnadmin create foo
svnadmin create bar
Then you could set up Apache like this:
<Location /repositories/foo>
SVNPath /path/to/repositories/foo
</Location>
<Location /repositories/bar>
SVNPath /path/to/repositories/bar
</Location>
Or, more easily:
<Location /repositories>
SVNParentPath /path/to/repositories
</Location>
If you have a single repository, then you use SVNPath. If you have
multiple repositories, and they're all supposed to be accessed in
more or less the same way, then you should put them in a single
filesystem directory and use SVNParentPath.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org