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

Re: mod_dav_svn + ssl -- protocol changes from 'https' to 'http' after authentication

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-11 22:46:35 CEST

On Apr 11, 2006, at 02:36, Danny MacMillan wrote:

> If I try to access the repository using the following URL:
>
> https://dev.example.com/projectname/svn
>
> I am prompted for authentication, just as I should be. Once I
> authenticate, though, the address bar of the browser changes to:
>
> http://dev.example.com/projectname/svn/
>
> Since this URL doesn't point to anything useful, I get a 404.
>
> If I try to access the same repository using THIS URL:
>
> https://dev.example.com/projectname/svn/
>
> It works as expected -- I authenticate and it then shows me the
> directory listing of / for the latest revision. The only difference
> is the presence or absence of the trailing slash.

I haven't worked much with HTTPS yet, but in the past had problems
where accessing a web directory (without a trailing slash) with a
hostname alias would redirect to the "primary" hostname, which I
didn't want. The culprit was this Apache directive:

UseCanonicalName On

I just had to set it to Off (which is the default in recent releases
anyway). Perhaps that would help you also.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 11 22:48:29 2006

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.