redirect http to https

Matthew Miller mattdm at mattdm.org
Thu Oct 28 13:18:07 UTC 2004


On Thu, Oct 28, 2004 at 02:19:21PM +0300, Andrey Andreev wrote:
> Obviously you cannot do that fully transparently to the user, as the 

Sure you can! See other posts in this thread.

> client needs to initiate the new TCP connection to the https code. You 
> need to instruct the browser to do so, and the browser understands HTML. 
> Thus:
> Put this in the index.html or whatever your server serves
> 	<meta http-equiv="Refresh" content="0;url=http://google.com" />
> fix the 0 to the number of seconds to wait before the redirect fires, 
> and the url to the url you want.

Oh, please don't do this. It's really annoying for visitors, because it
breaks the "back" button.

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>




More information about the fedora-list mailing list