我在我的 debian 服务器上安装了 SvnServe,它与 Visual Studio 配合得很好,带有密码保护的文件夹。
我已经安装了 websvn,天哪!我的颠覆目录都可以从http://myserver/websvn访问,无需密码。
我如何使用身份验证?
编辑:更多信息... websvn 文件夹的 Debian 版本:
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();
?>