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

Subversion, Apache2 and Redirects

From: Markus Brückner <mb1611_at_gmx.de>
Date: 2005-04-07 03:24:18 CEST


I'm trying to set up a Subversion repository with an Apache 2 Webserver
allowing HTTPS access only. I've set up a Virtual Host so far that does
the whole HTTPS thing and configured it using <Location / > so that the
repositories under the SNVParentPath are exposed directly under the
server name, for I want to access repository test with URI
https://server/test. This works so far using the subversion client for
checking out etc. Now I want to use a webbrowser for some quick browsing
through the sources when I'm not on a machine with a svn client. When I
type https://server/test as the URL, I'm redirected to
http://server/test/ (with trailing slash, but HTTP only). As the machine
is configured to display a website with some information when using
HTTP, it certainly cannot find the repository there and displays a HTTP
404. If I use https://server/test/ (with the trailing slash), everything
works fine. I'm quite puzzled by this behaviour, since the very same
thing (redirect from dir to dir/ without leaving HTTPS) works fine on
this server using other virtual hosts without DAV. What am I doing wrong

Please CC me in your answers as I'm not subscribed to the list.
Thx in advance

Received on Thu Apr 7 12:37:13 2005

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.