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

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
repositories setup and want to give different users access to different
repositories. I am using basic authentication; the logon window pops up
when I try to access the repository via the web browser, but it does not
accept my password. Here are the relevant configuration files:

 

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
file:

 

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
-cm svnroot
 
But when browsing to https://svn.omalas.internal/ots, the logon window pops
up but I cannot login.
 
Please let me know of anything that I may be overlooking.
 
Thank you.
 
Amar

 
Received on Thu Nov 25 19:09:02 2004

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.