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

RE: 301 HTTP Moved permanently without / at end of URL

From: Andrea Antonio Maleci <A.Maleci_at_iwbank.it>
Date: Mon, 23 Mar 2009 15:47:36 +0100

__RESOLVED__

There were an error on reverse proxy configuration.
I was using:

RewriteRule ^/svn(.*) http://mysvnserver:8085/svn$1 [P,L]
RewriteRule .* - [F]

instead of

ProxyPass /svn/ http://mysvnserver:8085/svn/
ProxyPassReverse /svn/ http://mysvnserver:8085/svn/

Now it works fine.
I hope this can be useful for someone.
Thanks,
Andrea

-----Original Message-----
From: Andrea Antonio Maleci [mailto:A.Maleci_at_iwbank.it]
Sent: lunedì 23 marzo 2009 12.33
To: users_at_subversion.tigris.org
Subject: 301 HTTP Moved permanently without / at end of URL

Hi all,
I'm using SVN behind an APACHE reverse proxy (http://myreverse).
Real server where SVN runs (http://mtsvnserver:8085) in unreachable from programmers, and they use rproxy to access it.
Now, if they access to the reverse using http://myreverse/svn/DEV/ (with ending slash) everything works fine.
If they try to access to http://myreverse/svn/DEV (without ending slash) instead of previous one, they get a

301 moved permanently to http://mysvnserver:8085,

Then client try to access to http://mysvnserver:8085/svn/DEV that is unreachable for them.
Surely problem is on Apache configuration, but I've not idea how to get it tight.

Any ideas ?
Thanks,
Andrea

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1389069

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1390237

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-23 15:48:51 CET

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.