[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to redirect http to https with Apache/SVN/SSL



On Monday 11 May 2009 11:18:53 Craig White wrote:
> On Mon, 2009-05-11 at 07:44 -0700, Daniel B. Thurman wrote:
> > Craig White wrote:
> > >
> > > ----
> > > try...
> > >
> > > RedirectPermanent /svn/ https://host.domain.com/svn
> > >
> > > Craig
> >
> > Thanks, but it does not work:
> > $ svn list http://host.domain.com/svn/svn1
> > svn: PROPFIND request failed on '/svn/svn1'
> > svn: PROPFIND of '/svn/svn1': 301 Moved Permanently
> > (http://host.domain.com)
>
> ----
> if this is what it actually reported, then you didn't implement
> correctly. What is document root in /etc/http/conf.d/ssl.conf ?
>

Actually, that is exactly the documented behavior.  RedirectPermanent sends 
back a 301 status message to the client.  A web browser would respond by 
quietly following the redirect, but Subversion does not do that.  Subversion, 
when presented with any 30x redirect, will dump a message and fail rather than 
follow the redirect... which is exactly why it will never do what Daniel wants 
it to do.

-- 
Patrick "The N-Man" Barnes
nman64 n-man com

http://n-man.com/

LinkedIn:
http://linkedin.com/in/nman64

Have I been helpful?  Rate my assistance!
http://rate.affero.net/nman64/

All messages cryptographically signed:
http://en.wikipedia.org/wiki/OpenPGP
-- 


Attachment: signature.asc
Description: This is a digitally signed message part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]