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

multiple repositories under / fails

From: Dominik Westner <lists_at_logicunited.com>
Date: 2003-05-26 19:23:43 CEST

Hi,

  I am having trouble to configure apache to have multiple repositories
under the / location.
My configuration is as follows:

<VirtualHost *>
    DocumentRoot /home/subversion/projects
    ServerName projects.intra.logicunited.com
    ServerAlias projects.logicunited.com
    ServerAlias projects
    <Location / >
       Order Allow,Deny
       Allow from all
       AuthName Subversion
       AuthType Basic
       AuthLDAPURL
ldap://ldap.logicunited.com:389/ou=People,dc=LogicUnited,dc=com?uid
       AllowOverride none
       Options none
       Dav svn
       SVNParentPath /home/subversion/projects
       <LimitExcept GET PROPFIND OPTIONS REPORT>
            Require valid-user
       </LimitExcept>
    </Location>
</VirtualHost>

When I try to access the url:

http://projects:8080/eads in a browser it does work as expected as I
have created a repository under
/home/subversion/projects/eads

If I do:

enron tmp # svn ls http://projects:8080/eads

I get:

svn: RA layer request failed
svn: The path was not part of a repository
svn: PROPFIND request failed on '/'
svn: PROPFIND of '/': 403 Forbidden (http://projects:8080)

and the apache error log reports:

[Mon May 26 19:18:30 2003] [error] [client 192.168.140.7] Could not
fetch resource inform
ation. [403, #0]
[Mon May 26 19:18:30 2003] [error] [client 192.168.140.7] (11)Resource
temporarily unavai
lable: The URI does not contain the name of a repository. [403,
#190001]

Anybody knows what I am doing wrong. I am successfully running a config
like this:

<VirtualHost *>
    DocumentRoot /home/subversion/repository
    ServerName svn.intra.logicunited.com
    ServerAlias svn
    <Location / >
       Order Allow,Deny
       Allow from all
       AuthName Subversion
       AuthType Basic
       AuthLDAPURL
ldap://ldap.logicunited.com:389/ou=People,dc=LogicUnited,dc=com?uid
       DAV svn
       SVNPath /home/subversion/repository
       AllowOverride none
       Options None
       <LimitExcept GET PROPFIND OPTIONS REPORT>
           Require valid-user
       </LimitExcept>
    </Location>
</VirtualHost>

This works beautifully. The only difference now is that I use

SVNParentPath instead of SVNPath and have the repository located one
level below the web server root.

Thanks

dominik

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 26 19:24:30 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.