You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Morris <mi...@cocosoft.co.za> on 2004/07/28 09:25:15 UTC

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

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

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

Posted by Thilo-Alexander Ginkel <ma...@tgbyte.com>.
Mike Morris wrote:

> 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)
>                              ?????????????????????

Please take a look at your Apache configuration. /config is most
likely configured as a global special folder (e.g., using 'Alias') to
export the Apache configuration information overwriting the path
within your repository.

Regards,
Thilo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org