NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Hickey on June 21, 2007, 02:24:25 PM
-
I would like to give my customers a choice of running our web app either with SSL or without. Is that possible? In the template it looks like it's either on or not, I don't see a way to make it so the end-user can choose.
-
Hi John,
See example 8.
Basically you end up with 2 server objects in your Web server procedure, one listening on port 80 (unsecure) and one on port 443 (secure.)
But they share a common WebHandler procedure. So there's almost nothing for you to do except add the extra server object.
tip: if you have static files that must only be served over the secure connection then place them in the 'secure' folder.
tip: if you have pages that should only be viewed on the secure connection then tick on the option on the advanced tab.
Cheers
Bruce