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

allow only selected files through apache/dav

From: Lee Harr <missive_at_hotmail.com>
Date: 2006-02-12 17:18:44 CET

Hi;

I have a subversion repository set up with webdav access through
apache. Developers connect through ssl and use digest auth. That
is working fine.

For a few of the files, I want to allow anonymous browsing.

The problem is that most of the files have a copyright restriction
not allowing open posting on the net. So, I just want to pick 4
files from trunk that will be openly available. (read-only of course)

I am trying to work out the apache configuration magic that will just
allow anonymous access to those 4 files in trunk.

If I do something like this ...

<Location /anon>
        DAV svn
        SVNPath /home/rsvn/repo1/
        SVNPathAuthz off

    <LimitExcept GET PROPFIND OPTIONS REPORT>
        Deny from all
    </LimitExcept>

</Location>

Then the whole repo is available. How can I restrict it so that only
the files control.c, autonomous.c, user_routines.c and user_routines.h
are available?

Thanks for any help.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 12 17:20:17 2006

This is an archived mail posted to the Subversion Users mailing list.