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

configure Virtual host

From: Helio MC Pereira <helio.mc.pereira_at_gmail.com>
Date: 2006-01-27 17:31:09 CET

Hi,

   I'm new to Subversion and my english is not very well :P

   I'm trying to configure apache with a virtual host for multiple
subversion repositorys. Each repository is under /home/user/svn directory
like:

   /home/user1/snv
   /home/user2/snv
   ...

   Each user need to mantain the svn repository.

   How do I configure virtual host for all to points something like
http://projects.server.test/user/svn ???

<VirtualHost *:80>
    ServerName projects.server.test
ServerAlias projectos
    ServerAdmin sharkypt@gmail.com
    ErrorLog /var/log/apache2/projectos-codezone-error.log
    CustomLog /var/log/apache2/projectos-codezone-access.log combined

    <Location "/svn">
        DAV svn
        SVNPath /home/Projectos/Portal/svn
        AuthType Basic
        AuthName "Projecto Portal @ CodeZone"
        AuthUserFile /home/Projectos/Portal/svn/dav/svn.passwd

        <Limit GET PROPFIND OPTIONS REPORT>
            Require valid-user
        </Limit>

        #SSLRequireSSL
    </Location>
</virtualHost>
Received on Fri Jan 27 17:38:05 2006

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.