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

Unable to import to new repos: PROPFIND of '/config': authorization failed

From: Mike Morris <mike.morris_at_cocosoft.co.za>
Date: 2004-07-28 11:25:15 CEST

Hi all,

I have a situation with a mod_svn+apache setup where I am able to

  - access old repositories both through a web browser and command-line
    client (co, ci, etc. all work)
  - access a newly created (since upgrading to 1.0.6) repos to read from a web
    browser,
BUT completely unable to import anything to the new repository

I get:

$ svn import -m "Initial import." http://svn.cocosoft.co.za/config
Authentication realm: <http://svn.cocosoft.co.za:80> Subversion Repository
Password for 'mike': <correct-password>
../subversion-1.0.5/subversion/libsvn_ra_dav/util.c:661: (apr_err=175002)
svn: PROPFIND request failed on '/config'
../subversion-1.0.5/subversion/libsvn_ra_dav/util.c:285: (apr_err=175002)
svn: PROPFIND of '/config': 301 Moved Permanently (http://svn.cocosoft.co.za)
                             ?????????????????????

I have the following setup:

svn served by mod_svn+dav+authz, Apache 2.0.50
subversion 1.0.6 on the server (Linux 2.4.25 - Gentoo, BDB 4.1<-I know that 4.2
would be better, still not marked stable in Gentoo; should I force it?)
subversion 1.0.5 on my client (Linux 2.6.3 - Mandrake)

Subversion is set up as the root of a virtual host svn.cocosoft.co.za as follows:
<VirtualHost *:80>

     ServerName svn.cocosoft.co.za
     DocumentRoot /var/svn

     <Location />
         DAV svn
         SVNParentPath /var/svn

         AuthzSVNAccessFile /etc/apache2/auth

         AuthType Basic
         AuthName "Subversion Repository"
         AuthUserFile /etc/apache2/svn-users

         Require valid-user

         Order allow,deny
         Allow from all
     </Location>
</VirtualHost>

/var/svn, /etc/apache2/auth and /etc/apache2/svn-users are all owned by
apache:apache and have appropriate permissions, as does the newly-created
repository "config".

svn-users contains "mike" as a user; auth contains
[config:/]
mike = rw

Have been banging my head against this for a couple of days now; extensive
searches of mail archives and website have not yielded anything useful so far.

Any help gratefully accepted.

-- 
mike morris     ::   mike.morris (at) cocosoft . co . za
cOcO software   ::   mike.morris (at) coco-technologies . co . za
                      www . cocosoft . co . za
----- A day without chillies is a day wasted ------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 28 11:24:38 2004

This is an archived mail posted to the Subversion Users mailing list.