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

Re: svn operating through proxy?

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-06-26 21:07:27 CEST

Josef Wolf <jw@raven.inka.de> writes:
> My host sends to the proxy:
> OPTIONS http://svn.collab.net/repos/svn/trunk HTTP/1.1
> User-Agent: neon/0.21.2 SVN/0.13.0 (dev build)
> Connection: TE
> TE: trailers
> Content-Length: 104
> Content-Type: text/xml
> Host: svn.collab.net
>
> The proxy answers:
> HTTP/1.0 500 Server Error
> Proxy-agent: Netscape-Proxy/3.52
> Date: Wed, 25 Jun 2002 22:03:21 GMT
> Content-type: text/html
> Content-length: 302
>
> What am I doing wrong? Anyone an idea? Proxy operation works fine with
> netscape, ncftp and wget.

Is your proxy configured to pass the necessary DAV requests through?
See this item from

   http://subversion.tigris.org/project_faq.html

--------------------------------------------------------------------------
   How do I access a repository through a proxy?

   First, edit your ~/.subversion/proxies configuration file to
   indicate which proxy to use. There are comments in the file
   explaining how to do this. If you don't have that file, get the
   latest Subversion client and run any command; this will cause the
   configuration directory and template files to be created.

   Next, you need to make sure the proxy server itself supports all
   the HTTP methods Subversion uses. Some proxy servers do not support
   these methods by default: PROPFIND, REPORT, MERGE, MKACTIVITY,
   CHECKOUT. In general, solving this depends on the particular proxy
   software. For Squid, the config option is

      # 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

   <Squid 2.4 and later already knows about PROPFIND.>
--------------------------------------------------------------------------

I see you're not running Squid, so can't say what the proper
incantations for your particular proxy might be...

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 26 21:15:38 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.