Resource Menu


RE : Subversion
Virtual host apache :

<VirtualHost *>
        ServerName XXXX
        ErrorLog /XXXX/error_log
        CustomLog /XXXX/access_log combined
        ProxyRequests Off
        <Proxy *>
                Order Deny,allow
                Allow from all
        </Proxy>
        ProxyPass /ls-svn/ !
        ProxyPass / http://XXXX:YYYY/
        ProxyPassReverse / http://XXXX:YYYY/

<Location /ls-svn/ > DAV svn SVNParentPath /XXXX/svn AuthzSVNAccessFile /XXXX/svn/XXXX-access.conf

Order Deny,allow Allow from all

Require valid-user AuthName "svn" AuthType Basic Auth_PG_host localhost Auth_PG_port 5432 Auth_PG_database XXXX Auth_PG_user postgres Auth_PG_pwd rien Auth_PG_pwd_table casusers_ Auth_PG_uid_field username_ Auth_PG_pwd_field passworddigest_ Auth_PG_cache_passwords on Auth_PG_encrypted off </Location> </VirtualHost>

Conf LS:

# Subversion configuration
subversion.authz.file.path=/XXXX/svn/XXXX-access.conf
subversion.repository.base.path=/XXXX/svn
subversion.create.repository.cmd=sudo /XXXXX/tools/CreateSVNRepositoryForLS.sh /XXXX/svn
subversion.rename.repository.cmd=sudo /XXXXX/tools/MoveSVNRepositoryForLS.sh /XXXX/svn

Modules apaches pour svn:

  • libapache2-svn libapache2-mod-auth-pgsql
posted by Sebastien Jourdain at Nov 5, 2007 5:04 PM