Re: Testing https
Re: Testing https
- Subject: Re: Testing https
- From: Kieran Kelleher <email@hidden>
- Date: Thu, 18 Nov 2004 07:45:53 -0500
Erwin, It seems from the URL that you are developing in Direct Connect mode. Your app was running on port 49656 via direct connect. When you switched to https protocol, the port switched to 443 which is the default for https, and you app is not running on port 443 via direct connect.
You need to ditch the direct connect development mode and develop in "deployment mode" using the built-in Apache and mod_ssl on your Mac. (I know that Chuck "left it all to us" on page 340 of Practical WO ;-) ). So to fill in the hole, I documented what I did to set it up on my Mac here:
Apache (very easy to set up in 20 seconds):
http://homepage.mac.com/kelleherk/iblog/C1216817469/E1192290575/index.html
mod_ssl and https (a little bit more involved ... if you don't make a mistake, then maybe 20 or 30 minutes to set up:
http://homepage.mac.com/kelleherk/iblog/C755751163/E683365024/index.html
Regards, Kieran
________________________________________________________________
Dev Config = OS X 10.3.5 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 / MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.5 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/
On Nov 18, 2004, at 7:18 AM, Erwin wrote:
I am testing an HTTPS WOApps (103.6, standalone, Apache is configured for SSL,
in httpd.conf and my ssl key generation I used 'kermac.local' as the host name
in the dev environment I launch successfully 'MySecureApp' main page
-> http://kermac.local:49656/cgi-bin/WebObjects/MySecureApp.woa
then I hit a link to a NonSecurePage going to :
-> http://kermac.local:49656/cgi-bin/WebObjects/MySecureApp.woa/wo/4BvGL0Qmzpo7PjiAmHdy70/0.1
where I have a link to a SecurePage, going to :
->https://kermac.local:443/cgi-bin/WebObjects/MySecureApp.woa/wo/4BvGL0Qmzpo7PjiAmHdy70/3.1
but then I get
The requested application was not found on this server.
I believe it's link to the fact I am running the my app in development mode , what should I modify to test it in this environment ? _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden