[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Redirect http to https
- Subject: RE: [cobalt-users] Redirect http to https
- From: "Steven Young" <steven.young@xxxxxxxxxxxxxxx>
- Date: Wed Jan 9 21:57:18 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> The customer wants to have a form on his website that can only be accessed
> through https but other pages are accessed normally yes he will put a link
> on the page to that form and it will be https://siteX.co.uk/secureform.htm
> but he wants to make sure as he is taking credit card details that people
> can't end up there on http. That was where a redirect was such a nice
> solution he could put the form in a directory on its own which
> would be fine
> but we still have the same problem unless someone can come up with a
> .htaccess solution that works.
Ummm, the following may work if added to a .htaccess file in the same folder
as the form...
Redirect /formdir/form.html https://formdir/form.html
... I don't think you can specify the entire URL (including the
http://www.mysite.co.uk/) in the first parameter so the redirect will happen
regardless of it being accessed by http or https. I havn't tried it and it
may cause some kinda infinite loop because it keeps redirecting itself!
Steven