Re: Code for https?
Re: Code for https?
- Subject: Re: Code for https?
- From: Chuck Hill <email@hidden>
- Date: Mon, 08 Sep 2003 21:13:24 -0700
Hi Dale,
At 01:57 PM 09/09/2003 +1000, Dale Stanbrough wrote:
>
>On Tuesday, September 9, 2003, at 01:47 PM, Chuck Hill wrote:
>
>> I've not seen it done like that before. Can you tell me exactly what
>> you want to achieve? That will make it easier to give you a good
>> solution.
>
>I'd like a system similar to apple's developer login pages.
>
I've not logged in for a while, and I log into a LOT of sites...
Specifically what did you want? :-)
>> In order for this to work you will need to:
>>
>> (a) NOT have the app running in Direct Connect Mode. Direct Connect
>> does not speak HTTPS.
>
>Ah, that would be my first problem.
>
>> (b) Be running through a webserver configured for HTTPS. For Apache,
>> that means using a VirtualHost configured specifically for HTTPS (SSL).
>
>And that would be my second problem :-)
>
Grin.
>My third problem would be not knowing how to get "into" https mode :-)
>
>I'm happy to read documentation on how to do this, but I can't find it
>in any of my books (apart from the small code snippet shown) or on the
>web...
>
Yeah, the docs might be a bit light on that. The easiest way is to use the
secure binding on WOHyperlink (true for https://, false for http://,
unbound for a url starting with / (maintain the current mode). Works fine,
except it is buggy getting *out* of https. But that is another story...
Otherwise you need to create the URL yourself using code very similar to
what you had tried and then use WORedirect to redirect to the URL that you
had created.
Getting a WOForm on an insecure page to submit to a secure URL is again
more of a challenge if you are just starting out.
>I'll go and have a look at Apache's documentation. Thanks,
>
It is usually pretty good, in my experience.
Chuck
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.