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

SVN :APACHE 2.9 : VHOST

From: Ashwin Basagouda Patil <ashwin.patil_at_robosoftin.com>
Date: Mon, 29 Sep 2008 08:50:28 +0530

Hi.

I compiled the latest version of subversion-1.5.2 and Apahe httpd-2.2.9 [also openssl-0.9.8h,
openldap-2.4.11].

Now the virtual hosting for the repository is not working for this new version of the apache for the
https connections.

How to configure the repositories for the name virtual hosting.

The bellow configuration works fine for me for the older version [Apache 2.6]

But in this version the bellow configuration is pointing to the first repository always.

Please help me.

######################################################
In ssl.conf file

<VirtualHost *:443>

# General setup for the virtual host
       
        DocumentRoot /Projects/testrepo1
        ServerName testrepo1.robosoftin.com:443
              
<Location />
        DAV svn
        SVNPath /Projects/testrepo1
        SVNAutoversioning on

        Order deny,allow
        Allow from all

        AuthType Basic
        AuthBasicProvider ldap
        AuthName "Robosoft Technologies Pvt Ltd"
        AuthLDAPURL "ldap://roboserver.robosoft.co.in/cn=users,dc=RoboServer?cn"
        AuthtestrepoAttribute memberUid
        AuthtestrepoAttributeIsDN off
        Require valid-user
        AuthzSVNAccessFile /Projects/testrepo1/testrepo1.txt
</Location>

</VirtualHost>

<VirtualHost *:443>

# General setup for the virtual host
       
        DocumentRoot /Projects/testrepo2
        ServerName testrepo.robosoftin.com:443
              
<Location />
        DAV svn
        SVNPath /Projects/testrepo2
        SVNAutoversioning on

        Order deny,allow
        Allow from all

        AuthType Basic
        AuthBasicProvider ldap
        AuthName "Robosoft Technologies Pvt Ltd"
        AuthLDAPURL "ldap://roboserver.robosoft.co.in/cn=users,dc=RoboServer?cn"
        AuthtestrepoAttribute memberUid
        AuthtestrepoAttributeIsDN off
        Require valid-user
        AuthzSVNAccessFile /Projects/testrepo2/testrepo2.txt
</Location>

</VirtualHost>
######################################################

debug logs :

[Mon Sep 29 08:37:02 2008] [debug] mod_authnz_ldap.c(875): [16899] auth_ldap url parse:
`ldap://roboserver.robosoft.co.in/cn=users,dc=RoboServer?cn'
[Mon Sep 29 08:37:02 2008] [debug] mod_authnz_ldap.c(884): [16899] auth_ldap url parse: Host:
roboserver.robosoft.co.in
[Mon Sep 29 08:37:02 2008] [debug] mod_authnz_ldap.c(886): [16899] auth_ldap url parse: Port:
389
[Mon Sep 29 08:37:02 2008] [debug] mod_authnz_ldap.c(888): [16899] auth_ldap url parse: DN:
cn=users,dc=RoboServer
[Mon Sep 29 08:37:02 2008] [debug] mod_authnz_ldap.c(890): [16899] auth_ldap url parse: attrib:
cn
[Mon Sep 29 08:37:02 2008] [debug] mod_authnz_ldap.c(892): [16899] auth_ldap url parse:
scope: base
[Mon Sep 29 08:37:02 2008] [debug] mod_authnz_ldap.c(897): [16899] auth_ldap url parse: filter:
(null)
[Mon Sep 29 08:37:02 2008] [debug] mod_authnz_ldap.c(977): LDAP: auth_ldap not using SSL
connections
######################################################

Ashwin

-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-29 05:17:20 CEST

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.