subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Kello <gert.ke...@gmail.com>
Subject Re: Mirror SVN Repository [Write-through proxying]
Date Wed, 11 Jun 2014 07:59:06 GMT
> And a slave svn " svnslave/svn/slave"
>
> config SLAVE:
> LoadModule dav_svn_module     modules/mod_dav_svn.so
> LoadModule authz_svn_module   modules/mod_authz_svn.so
>
> <VirtualHost *:80>
>     DocumentRoot /var/www/svn
> </VirtualHost>
>
> <Location /svn>
>    DAV svn
>    SVNParentPath /var/www/svn
>    SVNMasterURI http://svnmaster/svn/master       <-- added the master svn
>       AuthType Basic
>       AuthName "IPCO Mirror"
>       AuthUserFile /var/www/svn/etc/passwdfile
>       Require valid-user
> </Location>

AFAIK You need one additional svn location at mirror that does not
have "SVNMasterUri". If You try to use this location the sync will be
redirected back to master server.
See the <Location /svn-proxy-sync> part in
http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html#svn.serverconfig.httpd.extra.writethruproxy

Gert

Mime
View raw message