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

Subversion and Apache

From: Sergey A. Kobzar <ksa_at_uaic.net>
Date: 2005-07-19 17:20:20 CEST

Hello All.

I use Subversion and made access to it via Apache modules. There is
TortoiseSVN on the client side.

Apache configuration:

-- [skiped] --

LoadModule dav_module libexec/apache2/mod_dav.so
LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so
LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so

<Directory />
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

-- [skiped] --

and virtualhost:

<IfDefine SSL>

NameVirtualHost *:443

<VirtualHost *:443>
    ServerName svn.test.com
    DocumentRoot /home/svn-root
        <Location /public>
            DAV svn
            SVNParentPath /home/svn-root

            AllowOverride None
            Order allow,deny
            Allow from all

            AuthName "Subversion Repository"
            AuthType Basic
            AuthLDAPBindDN cn=Guest,dc=TEST
            AuthLDAPBindPassword xxxxxxxxxxxxxx
            AuthLDAPUrl "ldap://ldap.test:389/ou=People,dc=TEST?uid"
            Require valid-user
            SSLRequireSSL
        </Location>
    ErrorLog /var/log/httpd/svn.test.com-error.log
    CustomLog /var/log/httpd/svn.test.com-access.log combined

    SSLEngine on
    SSLCertificateFile /usr/local/etc/apache2/ssl.crt/svn.test.com.crt
    SSLCertificateKeyFile /usr/local/etc/apache2/ssl.key/svn.test.com.key

    CustomLog /var/log/httpd/svn.test.com-ssl_request.log \
        "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

</IfDefine>

# ls -al /home/svn-root/
total 8
drwxr-xr-x 3 www www 512 Jul 18 21:53 .
drwxr-xr-x 6 root wheel 512 Jul 18 13:49 ..
-rw-r--r-- 1 www www 11 Jul 18 21:53 access.conf
drwxr-xr-x 7 www www 512 Jul 18 14:25 test-a

When I try access repository - https://svn.test.com/public/test-a,
TortoiseSVN client asks me authentication. When I try access folder in
repository - it asks me authentication again... I think it's
incorrect. Can you help me?

My software:

apache-2.0.54 Version 2 of Apache web server with prefork MPM.
neon-0.24.7 An HTTP and WebDAV client library for Unix systems
subversion-1.2.0 Version control system

FreeBSD 5.4-RELEASE-p4

TortoiseSVN 1.2.1, Build 3895

Thanks.

-- 
Best regards,
 Sergey                          mailto:ksa@uaic.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 19 17:22:26 2005

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.