How to redirect http to https with Apache/SVN/SSL
Patrick W. Barnes
nman64 at n-man.com
Mon May 11 16:42:07 UTC 2009
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 at 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
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090511/0d8cef4f/attachment-0001.sig>
More information about the fedora-list
mailing list