[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: "Jamie Martino" <webmaster1@xxxxxxx>
- Date: Wed Jan 9 16:20:06 2002
- Organization: WebConnection.Net, Inc.
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Ok I think the problem/issue has been diluted along the way here. Some of
> the responses would get round the problem but not really fix it.
>
> 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.
Sorry, misunderstood the question..
Make the form a dynamic page, like CGI/ASP/PHP, and have it check the URL
and make sure it is being accessed securely, and if it's not, reload the
page over HTTPS.. Otherwise just show the form.. Very simple to write..
-Jamie-
http://w-c.net
WebConnection.Net, Inc.
In a mad world, only the mad are sane...