rss

Subversion through proxy

Wednesday, September 23, 2009

People with a proxy running on their networks run into a little snag when trying to access an SVN database through it. SVN over http requires more than the usual GET and POST. Proxies by default aren't configured to allow the extra http commands that SVN uses. However this problem can be solved.

Open servers file in the following location.

Window XP
C:\Documents and Settings\[YOUR USERNAME]\Application Data\Subversion\servers

Windows Vista
C:\Users\[YOUR USERNAME]\AppData\Roaming\Subversion\servers

Linux
/etc/subversion/servers

Update following lines at the end of file.
[global]
http-proxy-exceptions = yourproxy exceptions (e.g. dev.company.com)
http-proxy-host = yourproxyhost (e.g. proxy.company.com)
http-proxy-port = your proxy port (e.g. 8080)
http-proxy-username = proxyusername
http-proxy-password = proxypassword
Update Eclipse Proxy settings (This step usually is not needed)

Windows > Preferences

Type 'proxy' in the filter text box. Go to 'Network Connections' config page. Choose manual proxy configuration and Update the proxy details.

1 comments:


Anonymous said...

Excelente.. gracias