Dear list,
I want to POST data from a normal http page to a https controller. I
set up SSL and what not and that works. When I go to https://projectname.local
the site loads nicely. When I go to http://projectname.local the site
loads nicely as well.
On that page however I have a form which I want POSTing to a httpS
controller, I got so far as to create the form:
<form onsubmit="new Ajax.Request(''https://projectname.local/
provider_users'', {asynchronous:true, evalScripts:true,
parameters:Form.serialize(this)}); return false;" method="post"
action="https://projectname.local/provider_users">
Now the strangest thing happens (or doesn''t). If I click the submit
button _nothing_ happens. Nothing in Firebug, nothing in my apache
log, nothing in my development log, nothing in Safari. Nothing.
When I load the page in pure https things work. One odd thing is that
the ''request.ssl?'' returns false even when I see the request
going
thru https. But this might be unrelated.
It IS possible to POST to https from a http connection right?
Any help would be greatly appreciated.
Harm