You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kenneth Porter <sh...@sewingwitch.com> on 2004/10/17 20:06:22 UTC

Can GET but not PROPFIND, Apache config seems broken

I'm trying to set up a repository for use over https on Fedora Core 2. I've 
already done this successfully with multiple repositories at the office, 
and now I'm trying to do it with a personal server. Alas, attempting to do 
anything with svn results in the error:

[scratch@matureasskickers scratch]$ svn log 
https://matureasskickers.net/repos/mawebsite/
Authentication realm: <https://matureasskickers.net:443> Subversion 
repositories
Password for 'scratch':
svn: PROPFIND request failed on '/repos/mawebsite/!svn/vcc/default'
svn: PROPFIND of '/repos/mawebsite/!svn/vcc/default': 403 Forbidden 
(https://matureasskickers.net)

The URL works fine from a browser (after authentication), where I'm just 
doing a GET.

If I su to apache (which owns the files), then I can successfully run this 
with a file URL. So it's something borked in Apache. Looking at my error 
log, I see this:

[Sun Oct 17 12:59:30 2004] [error] [client 66.28.14.59] client denied by 
server configuration: /var/www/html/matureasskickers.net/repos

Not very detailed, so I don't know where to look. The fact that it's 
looking in the document tree and not in the repository location is 
suspicious, though.

My /etc/httpd/conf.d/subversion.conf file for Apache looks like this:

<Location /repos>
        DAV svn
        SVNParentPath /srv/svn
	# same without symlink to mount point
        #SVNParentPath /mnt/bigdisk2/srv/svn
        # Require SSL connection for password protection.
        SSLRequireSSL
        AuthType Basic
        AuthName "Subversion repositories"
        AuthUserFile /var/www/passwd/svn
        Require valid-user
        #Require group svn
</Location>

This is the same setup I use at the office, so I have to believe there's 
something elsewhere in the Apache config that's interfering.

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