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

Weird SVN Auth issue

From: James Richardson <jrichardson_at_x-iss.com>
Date: 2005-12-06 20:18:34 CET

Hello All,

I'm trying to setup a SVN reporositry with Apache and am having
difficulties with the authorization. With *no* authorization mechanisms
Everything works fine (expect everyone has full access to the repo's :)

However when I try to add authentication I get either mixed results (and
none of them work :().

The system is a CentOS 4.2 machine.

Here is the working http.conf:
<VirtualHost *:80>
        ServerAdmin webmaster@svn.myhost.com
        ServerName svn-dev.myhost.com
        ServerAlias svn.myhost.com
        ErrorLog logs/svn-error_log
        CustomLog logs/svn-access_log common
        DocumentRoot /var/www/html
                                                                                                                             
        <Location /svn>
                DAV svn
                SVNParentPath /opt/svn
        </Location>
</VirtualHost>

Trying to use an htpasswd file does *NOT* work:
I get:
        svn: PROPFIND request failed on '/'
        svn: PROPFIND of '/': 405 Method Not Allowed

 <VirtualHost *:80>
        ServerAdmin webmaster@svn.myhost.com
        ServerName svn-dev.myhost.com
        ServerAlias svn.myhost.com
        ErrorLog logs/svn-error_log
        CustomLog logs/svn-access_log common
        DocumentRoot /var/www/html
        <Location /svn>
                DAV svn
                SVNParentPath /opt/svn
                AuthType Basic
                AuthName "Subversion Realm"
                AuthUserFile /opt/svn/svnauth
                Require valid-user
        </Location>
</VirtualHost>

Any ideas?

Thanks,

-- 
===================================
James T. Richardson, Jr.
eXcellence in IS Solutions, Inc.
jrichardson@x-iss.com
-----------------------------------
Office: 713-862-9200
Voicemail: 713-339-7226
Fax: 713-586-3224
===================================
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 6 20:23:28 2005

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.