subversion, websvn, and apache2
From: Amar P Patel <amar_at_omalas.com>
Date: 2004-11-25 04:24:40 CET
Hello all!,
I am trying to enable authentication on my repositories. I have multiple
vim /etc/websvn/svn_deb_conf.inc
----------------------------------------------------------
// please edit /etc/websvn/config.inc
// or use dpkg-reconfigure websvn
$config->parentPath("/home/svnroot/ots");
$config->addRepository("ots", "/home/svnroot/ots");
//.other repositories
$config->setSedPath("/bin");
I am running apache2 as a user svnroot. Here is my apache configuration
User svnroot
<VirtualHost 192.168.1.3:443>
ServerAdmin webmaster@omalas.internal
ServerName svn.omalas.internal
# DocumentRoot /var/www/websvn
SSLEngine on
SSLCertificateFile \
/etc/ssl/certs/svn.omalas.internal.cert
SSLCertificateKeyFile \
/etc/ssl/private/svn.omalas.internal.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
ErrorLog /var/log/apache2/svn.omalas.internal-error.log
CustomLog /var/log/apache2/svn.omalas.internal-access.log common
ServerSignature On
<Location /ots>
SVNPath /home/svnroot/ots
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/apache2/svn-auth-file
Require Valid-user
</Location>
</VirtualHost>
I have setup a user called svnroot as follows: htpasswd /etc/svn-auth-file
|
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.