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

Re: Subversion configuration directories / files visible to the user

From: Ravi Roy <ravi.aroy_at_gmail.com>
Date: Sat, 21 Nov 2009 10:58:41 +0530

Thanks Andrey and Ryan for your quick replies.

On Sat, Nov 21, 2009 at 10:35 AM, Andrey Repin <anrdaemon_at_freemail.ru> wrote:
> Greetings, Ravi Roy!
>
>> I am using Subversion 1.6.1, Apache 2.2.11 with LDAP. Recently, I
>> created a new project in the repository and everything works well, but
>> if I browse the http://hostname.domain/svn/projectname using IE it
>> shows me all configuration files and directories...
>
>> conf
>> db
>> dav
>> format
>> hooks
>> locks
>
>> Does somebody knows .. what might be the reason for this ? I have
>> serveral other projects in repository but none of them shows like
>> this.
>
> Without additional information, it's impossible to tell.
> I can guess you have messed your repository location (SVN[Parent?]Path) and
> webroot location (DocumentRoot) together. Best practice is to don't do that

following is project configuration in Apache - httpd.conf

<Location /svn/MyProject>
    DAV svn
    SVNPath /var/repo/svn/MyProject
        DirectoryIndex index.html index.htm default.htm
        Satisfy any
        <LimitExcept GET PROPFIND OPTIONS REPORT>
                Require valid-user
        </LimitExcept>
        Order allow,deny
        Allow from all
        AuthzLDAPAuthoritative on
        AuthType Basic
        AuthName "Please enter your username and password :"
        AuthLDAPBindDN "CN=SRV,OU=Users,OU=XBT,DC=xvt,DC=com"
        AuthLDAPBindPassword mypass
        AuthLDAPURL
"ldap://svtap.vix.com:3268/dc=xvt,dc=com?sAMAccountName?sub?(objectClass=*)"
        AuthBasicProvider ldap
        AuthUserFile /dev/null
        AuthzSVNAccessFile /var/repo/svnperm/perm/MyProject.txt
</Location>

Reagards
Ravi

> --
> WBR,
>  Andrey Repin (anrdaemon_at_freemail.ru) 21.11.2009, <8:03>
>
> Sorry for my terrible english...
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2422677

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-21 06:29:22 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.