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

Re: "bad request" in certain proxy setups

From: Stefan KŁng <tortoisesvn_at_gmail.com>
Date: 2007-07-18 23:08:25 CEST

Ralf GŁtlein wrote:
> Hello all,
>
> I had setup a vitual server running SUSE 10.1, svn 1.4 and apache 2.2.
> httpd.conf has the following lines:
> <Location /svn>
> DAV svn
> SVNParentPath /usr/local/repositories
> </Location>
>
> The parent path is containing several repositories.
> I can access these repositories from home with an internet browser and
> via TortoiseSVN over "http://server_url/svn/repo1" and so on.
> But when I try to access these from work (via proxy), I get an error
> message like "PROPFIND: error 400 - bad request".
> Strange enough, the access to a public svn server (svn.sourceforge.net)
> works from both locations, so the proxy must be properly configured and
> is not to blame.
> Also, the broswer access to my server works with and without proxy.
>
> This means that there is a problem that is somehow related to the
> connection between my server and the company's proxy. Any ideas how to
> solve this?

I'm sorry, but your assumption is incorrect. It's really the proxy which
is to blame here. The reason you can access the sourceforge repositories
is that you access them via https, not http. And https is encrypted, so
your proxy can't interfere. With http, your proxy can interfere and
reject DAV requests.

So either you have to configure your proxy to allow DAV requests, or use
https instead of http to access your repository.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jul 18 23:07:50 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.