Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We are running a Ubuntu 9.10 server with Web-Dav to host an SVN repository. Here's my dav_svn.conf settings for it:

<Location /svn/myrepo>
        DAV svn
        SVNPath /home/svn/myrepo
        AuthType Basic
        AuthName "Our Subversion Repository"
        AuthUserFile /etc/subversion/passwd
        <LimitExcept GET PROPFIND OPTIONS REPORT>
                Require valid-user
        </LimitExcept>
</Location>

I can access it here:

http://myserver.com/svn/myrepo

But it isn't asking for any type of authentication. Am I missing something here? /etc/subversion/passwd exists and is populated with usernames and password hashes.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

By using LimtExcept this way you are limiting access to the repository except for the GET, PROPFIND, OPTIONS and REPORT methods.

That means read-only access to the repository is permitted but authentication is required when commiting code.

Is that what you intended?

share|improve this answer
    
@Jakobud: If you remove the <LimitExcept> block around Require valid user, you should always have to authenticate. –  Bert Huijben Aug 2 '10 at 9:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.