2010-11-27 80 views
0

我在我的debian服务器上安装了SvnServe,它与Visual Studio一起运行良好,带有密码保护的文件夹。如何要求登录?

我已经安装了websvn,哦,我的上帝!我的Subversion目录都可以从http://myserver/websvn无密码访问。

我该如何使用验证?

编辑:更多的信息.​​.. Debian版websvn文件夹:

的apache.conf

# Configuration for websvn using php4. 

Alias /websvn /usr/share/websvn 

<Directory /usr/share/websvn> 
    DirectoryIndex index.php 
    Options FollowSymLinks 
    Order allow,deny 
    Allow from all 
    <IfModule mod_php4.c> 
    php_flag magic_quotes_gpc Off 
    php_flag track_vars On 
    </IfModule> 
</Directory> 

svn_deb_conf.inc

<?php 
// please edit /etc/websvn/config.php 
// or use dpkg-reconfigure websvn 
$config->parentPath("/var/subversion/"); 
$config->setEnscriptPath("/usr/bin"); 
$config->setSedPath("/bin"); 
$config->useEnscript(); 
?> 
+0

仍然需要帮助,对不起:) – cyrianox 2010-11-27 12:37:28

回答

0

Subversion可以通过Svnserve的阿帕奇服务。对于细粒度的权限模式,您可以按照pyfunc提到的instructions