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

Troubles with VirtualHost configuration: never asked for password

From: Will Scheidegger <willscheidegger_at_mac.com>
Date: Tue, 12 Jan 2010 00:16:54 +0100

Dear subversion users

I'm having a hard time configuring my virtual host to restrict access to my subversion repository. This is what my conf looks like:

#Virtual Host Configuration

<VirtualHost w.x.y.z:80>
        ServerName svn.domain.com

        <Location /svn/myproject>
                Order Allow,Deny
                Allow from all
                DAV svn
                SVNPath /usr/local/svn/myproject
                AuthType Basic
                AuthName "Subversion Repository"
                AuthUserFile /etc/subversion/passwd
                Require valid-user

Without the "Order Allow,Deny" + "Allow from all" directive the default virtual host configuration takes over and access is denied ("Server sent unexpected return value (403 Forbidden) in response to OPTIONS request..."). But with the directives I'm never asked for a password. According to all the manuals I consulted on the web, this setup _should_ challenge the user for a password (stored in /etc/subversion/passwd). Do I need to configure something else, i.e. modify stuff in /usr/local/svn/myproject/conf?


Received on 2010-01-12 00:24:51 CET

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.