httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Fox" <...@blueheath.com>
Subject RE: redirecting from http -> https
Date Thu, 14 Feb 2002 13:51:20 GMT


> -----Original Message-----
> From: obo@bourse.ch [mailto:obo@bourse.ch]
> Sent: 14 February 2002 13:32
> To: users@httpd.apache.org
> Subject: Re: redirecting from http -> https
>
>
> Tim Fox wrote:
> >
> > I want to redirect anyone using an http:// url to the
> equivalent https://
> > url on my site.
> >
> > Eg http://www.acme.com/somedir/foo.htm ->
> > https://www.acme.com/somedir/foo.htm
> >
> > I've tried the Redirect declaration
> >
> > Redirect http://www.acme.com/ https://www.acme.com
> >
>
> Read more carefully the note on "Redirect" - it takes a local path
> relative to the docroot as its first argument, not a full URL.

I tried that - it ended up in a recursive loop.
Specifically I tried:

Redirect /somedir https://www.acme.com/somedir/

This seems to end up in a recursive loop -which makes sense since
https://www.acme.com/somedir matches /somedir.

I have also tried:

Redirect / https://www.acme.com/

which also seems to end up in a loop

> Also,
> didn't you see the question and answer on the list about two hours ago
> on this very point?
>

No, because I only joined the list about 15 minutes ago, in order to ask the
question.

> Rgds,
>
> Owen Boyle.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message