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

RE: 301/302 redirects

From: Adrian Marsh <Adrian.Marsh_at_ubiquisys.com>
Date: Mon, 11 Aug 2008 15:36:52 +0100

I'm directing to another URI Virtualhost, in preperation for a move to a
new server at some point

 

I've gotten a webbrowser to work now, but I get a 405 in Tortoise...

(I also had to put a SSLProxyEngine on in the global config httpd.conf)

 

Error * PROPFIND request failed on '/svn/tools/!svn/vcc/default'
PROPFIND of '/svn/tools/!svn/vcc/default': 405 Method Not Allowed
(http://192.168.50.79 <http://192.168.50.79/> )

 

My new ssl server config dose use authentication too (which normally
works ok), and TortoiseSVN is prompting for that username/password, so I
think the proxy config is working, but theres something missing after
that. Maybe something that the SVN server returns that the proxy
affects.

 

If I disable "Require valid-user" in that secure config, then I get a
403 instead

 

To test I redefined my original URL as /svn2 and the new one as /svn (to
avoid some global vs virtualhost clashes)

When I get the 403, its complaining about /svn2, so it seems as though
that doesn't make it through the proxying..

 

________________________________

From: vishwajeet singh [mailto:dextrous85_at_gmail.com]
Sent: 11 August 2008 14:57
To: david.x.grierson_at_jpmorgan.com
Cc: Adrian Marsh; users_at_subversion.tigris.org
Subject: Re: 301/302 redirects

 

Hi When using inside location tab first argument is not required you can
simply keep it like as shown below

<Location /svn>

            ProxyPass https://secureserver1/svn

</Location>

This will work for all operations other than tag or branch if you are
directing it to some other server which I feel is the case.

On Mon, Aug 11, 2008 at 7:09 PM, <david.x.grierson_at_jpmorgan.com> wrote:

Code I had when I was trialing things was:

<VirtualHost *:80>
       ServerName subversion.ny.jpmorgan.com
       ErrorLog logs/subversion_errorlog
       CustomLog logs/subversion_accesslog combined
       ProxyPass / http://svn-new.ny.jpmorgan.com/
       ProxyPassReverse / http://svn-new.ny.jpmorgan.com/
</VirtualHost>

Dg.

--
David Grierson
JPMorgan - IB Architecture - Source Code Management Consultant
GDP 228-5574 / DDI +44 141 228 5574 / Email
david.x.grierson_at_jpmorgan.com
Alhambra House 6th floor, 45 Waterloo Street, Glasgow G2 6HS
"Adrian Marsh" <Adrian.Marsh_at_ubiquisys.com>
11/08/2008 14:27
To
"vishwajeet singh" <dextrous85_at_gmail.com>
cc
<users_at_subversion.tigris.org>
Subject
RE: 301/302 redirects
Thanks Guys,
Do you have an example of the ProxyPass usage?
I tried:
<Location /svn>
           ProxyPass /svn  https://secureserver1/svn
</Location>
But httpd complains :
Syntax error on line 38 of /etc/httpd/conf.d/subversion.conf:
Invalid ProxyPass parameter.  Parameter must be in the form 'key=value
From: vishwajeet singh [mailto:dextrous85_at_gmail.com]
Sent: 11 August 2008 13:56
To: Adrian Marsh
Cc: users_at_subversion.tigris.org
Subject: Re: 301/302 redirects
I have used proxy pass argument and it works in tortoise svn
On Mon, Aug 11, 2008 at 6:23 PM, Adrian Marsh
<Adrian.Marsh_at_ubiquisys.com>
wrote:
Hi All,
Can someone just confirm for me what I've read up on, that SVN (and
TortoiseSVN) clients don't support Apache 301 or 302 redirects via http
?
Trying to redirect a url:  http://server1.com/svn/repos to
https://secureserver1.com/svn/repos
Have tried a URL re-write and a redirect statement in the apache config.
Both work in a web browser, but neither works in TortoiseSVN.
Thanks,
Adrian
--
Cheers,
Vishwajeet
http://www.singhvishwajeet.com
Generally, this communication is for informational purposes only
and it is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation
of any transaction. In the event you are receiving the offering
materials attached below related to your interest in hedge funds or
private equity, this communication may be intended as an offer or
solicitation for the purchase or sale of such fund(s).  All market
prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice.
Any comments or statements made herein do not necessarily reflect
those of JPMorgan Chase & Co., its subsidiaries and affiliates.
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com
Received on 2008-08-11 16:37:26 CEST

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.