开发者

Giving public access to root directory of svn

开发者 https://www.devze.com 2023-01-09 19:33 出处:网络
i was wondering if it is possible to let people access subversion root directory trough apache and \'dav_svn\' module. Now i can only access only repositories that are 1 level lover than root director

i was wondering if it is possible to let people access subversion root directory trough apache and 'dav_svn' module. Now i can only access only repositories that are 1 level lover than root directory ("svn/game" "svn/something" but not "svn/").

My httpd.conf:

<Location /svn>
    DAV svn
    SVNParentPath C开发者_开发知识库:/SVN
    AuthzSVNAccessFile C:/SVN/users
    Satisfy Any
    Require valid-user
    AuthType Basic
    AuthName "Subversion repository"
    AuthUserFile C:/SVN/svn-auth-file
</Location>

Now, when i try to access root directory it asks me for a user name and a password.

Help would be appreciated.

Thank you.


I think what you are asking for is access to the Subversion repositories list, which is disabled by default.

Try setting SVNListParentPath on in the location block of your httpd.conf:

...
    DAV svn
    SVNListParentPath on
    SVNParentPath C:/SVN
    AuthzSVNAccessFile C:/SVN/users
...

It is also important to note that Subversion clients cannot talk to the repository list, and this can only be seen through a web browser connecting to the "root" svn path.

0

精彩评论

暂无评论...
验证码 换一张
取 消