Re: Code for https?
Re: Code for https?
- Subject: Re: Code for https?
- From: Chuck Hill <email@hidden>
- Date: Mon, 08 Sep 2003 20:47:14 -0700
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.
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.
(b) Be running through a webserver configured for HTTPS. For Apache, that
means using a VirtualHost configured specifically for HTTPS (SSL).
Chuck
At 01:29 PM 09/09/2003 +1000, Dale Stanbrough wrote:
>I've attempted to create a https page using the code from Jesse
>Fieler's book, but
>it won't compile when it is placed in Application.java (despite claims
>to the contrary),
>and when I place it in Session.java and run it, it doesn't do much.
>
>Is the code correct, and what else would I need to set up to test https
>connections on
>my development system?
>
>public void appendToResponse (WOResponse aResponse, WOContext aContext)
>{
> aResponse.setHeader (
> "https://" +
> this.context ().request ().headerForKey
>("host") +
> this.context ().componentActionURL(),
> "location");
>}
>
>
>Thanks,
>Dale
>_______________________________________________
>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.
>
--
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.