SVN| Subversion (SVN) through proxy
Subversion (SVN) through proxy
Thursday November 10, 2005 23:18Getting this thing to work behind a proxy is a little strange.
SVN usually runs over http, and requires more than the usual GET and POST. The widely used squid proxy server won't work until you add some peculiar settings.
/etc/subversion/servers, or a file called .subversion or something in the home directory:
[global]
http-proxy-host=proxyhost
http-proxy-port=3128
In my case I'm running squid on the default port 3128.
Squid had to be convinced it was ok to accept a few extra http commands:
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
View Full Version : subversion - option expected
sirhan
June 29th, 2006, 11:02 PM
I got this error message when I was trying to checkout the file from the svn server:
error /home/svn/repos/LMS/conf/svnserve.conf:32: Option expected
so how do I solve this problem?
error /home/svn/repos/LMS/conf/svnserve.conf:32: Option expected
so how do I solve this problem?
routeur01
September 15th, 2006, 02:48 AM
In the svnserve.conf, you just have to delete spaces in front of options.
My actual sample:
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host = defaultproxy.whatever.com
http-proxy-host=proxy.a.b.com
# http-proxy-port = 7000
http-proxy-port=8080
# http-proxy-username = defaultusername
http-proxy-username=Stephen.Cheng
# http-proxy-password = defaultpassword
http-proxy-password=password
# http-compression = no
# http-auth-types = basic;digest;negotiate
http-auth-types=basic
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem
No comments:
Post a Comment