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

Re: how to set proxy settings

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-07-20 14:26:53 CEST

[Forwarding to list, accidentally replied off-list only]

On 7/20/07, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 7/20/07, janaka priyadarshana <rpjanaka@gmail.com> wrote:
> > this is the problem again
> >
> > i am using ubuntu 7.04
> >
> > i want to connect to the theora svn ()
> >
> > so when i gave the command
> >
> > svn co http://svn.xiph.org/trunk/theora
> > svn: PROPFIND request failed on '/trunk/theora'
> > svn: PROPFIND of '/trunk/theora': could not connect to server
> > (http://svn.xiph.org)
> >
> > this error massage was given.
> >
> > i suggest that the reason may be the proxy server does not allow to do this.
>
> That, or that your Subversion client (svn) doesn't know that you want
> it to connect to svn.xiph.org through a proxy... (see below)
>
> > so i read the instruction given in
> > http://subversion.tigris.org/faq.html#proxy
> >
> > but i was unable to understand what it says (sorry for my less knowledge).
>
> That's no problem, but that problem does not (yet) apply to your case:
> it's for proxy administrators who have to change their proxy setup
> configurations.
>
> > so this is the my "server" configuration file which is located in the home
> > directory.
>
> I think you may have been confused a bit: this file is not to
> configure the behaviour of your proxy server, but rather to tell
> Subversion which proxy server to connect to.
>
> > ***************************************************************************************
> >
> > ### This file specifies server-specific protocol parameters,
> > ### including HTTP proxy information, and HTTP timeout settings.
> > ###
> > ### The currently defined server options are:
> > ### http-proxy-host Proxy host for HTTP connection
> > ### http-proxy-port Port number of proxy host service
> > ### http-proxy-username Username for auth to proxy service
> > ### http-proxy-password Password for auth to proxy service
> > ### http-proxy-exceptions List of sites that do not use proxy
> > ### http-timeout Timeout for HTTP requests in seconds
> > ### http-compression Whether to compress HTTP requests
> > ### neon-debug-mask Debug mask for Neon HTTP library
> > ### ssl-authority-files List of files, each of a trusted CAs
> > ### ssl-trust-default-ca Trust the system 'default' CAs
> > ### ssl-client-cert-file PKCS#12 format client certificate file
> > ### ssl-client-cert-password Client Key password, if needed.
> > ###
> > ### HTTP timeouts, if given, are specified in seconds. A timeout
> > ### of 0, i.e. zero, causes a builtin default to be used.
> > ###
> > ### The commented-out examples below are intended only to
> > ### demonstrate how to use this file; any resemblance to actual
> > ### servers, living or dead, is entirely coincidental.
> >
> > ### In this section, the URL of the repository you're trying to
> > ### access is matched against the patterns on the right. If a
> > ### match is found, the server info is from the section with the
> > ### corresponding name.
> >
> > [groups]
> > # group1 = *.collab.net
> > # othergroup = repository.blarggitywhoomph.com
> > # thirdgroup = *.example.com
> >
> > ### Information for the first group:
> > # [group1]
> > ### http-proxy-host = cache.mrt.ac.lk
> > ### http-proxy-port = 3128
> > ### http-proxy-username =
> > ### http-proxy-password =
> > ### http-timeout = 60
> > ### neon-debug-mask = 130
> >
> > ### Information for the second group:
> > # [othergroup]
> > ### http-proxy-host = cache.mrt.ac.lk
> > ### http-proxy-port = 3128
> > # No username and password, so use the defaults below.
> >
> > ### You can set default parameters in the 'global' section.
> > ### These parameters apply if no corresponding parameter is set in
> > ### a specifically matched group as shown above. Thus, if you go
> > ### through the same proxy server to reach every site on the
> > ### Internet, you probably just want to put that server's
> > ### information in the 'global' section and not bother with
> > ### 'groups' or any other sections.
> > ###
> > ### If you go through a proxy for all but a few sites, you can
> > ### list those exceptions under 'http-proxy-exceptions'. This only
> > ### overrides defaults, not explicitly matched server names.
> > ###
> > ### 'ssl-authority-files' is a semicolon-delimited list of files,
> > ### each pointing to a PEM-encoded Certificate Authority (CA)
> > ### SSL certificate. See details above for overriding security
> > ### due to SSL.
> > [global]
> > # http-proxy-exceptions = *.exception.com, www.internal-site.org
> > # http-proxy-host = cache.mrt.ac.lk
> > # http-proxy-port = 3128
> > ### http-proxy-username =
> > ### http-proxy-password =
> > # http-compression = no
> > # 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
> >
> >
> > ***************************************************************************************
> >
> > the above file does not include any field such as
> >
> > # TAG: extension_methods
> > # Squid only knows about standardized HTTP request methods.
> > # You can add up to 20 additional "extension" methods here.
> >
> #
> > #Default:
> > # none
> > extension_methods REPORT MERGE MKACTIVITY CHECKOUT
> >
> >
> > so i am really confused with the given explanation under "what if i am
> > behind a proxy"
>
> You may want to read
> http://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html#svn.advanced.confarea.opts.servers
> if you want to know more about changing the behaviour of the
> subversion client with respect to proxies.
>
> Summary: Under "[global]", you need to remove the "# " (hash and
> space) from the lines "# http-proxy-host = " and "# http-proxy-port =
> " and fill in the values after the '=' which apply to your proxy
> server.
>
>
> HTH,
>
> Erik.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 20 14:26:09 2007

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.