Re: redirect http to https

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

 



Matthew Miller wrote:
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.

Dang! So I'm wrong. Does anyone care to explain how it works?



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.


good point...


-- Andrey Andreev University of Helsinki Dept. of Computer Science


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux