|
| Iniciado por guest, 23,ene. 2015 10:09 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 23,enero 2015 - 10:09 |
Hello,
how do you get the login page and any other page to move to https mode in WB17?
regards
issah |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,enero 2015 - 15:06 |
Hi Issah,
Here is an example, in French, but I'm sure you know how to convert it in English.
To put at the top of the page declaration section:
SI PAS ValeurEnvironnement("HTTPS", "off") ~= "on" _ET_ PAS EnModeTest() ALORS gsURL est une chaîne = PageAdresse(MoiMême,paSECURISEE) ScriptAffiche(gsURL) FinProgramme() FIN And the procedure ValeurEnvironnement() is as follow:
PROCEDURE PRIVÉE ValeurEnvironnement(LOCAL sNomValeur est une chaîne, LOCAL sValeurDéfaut est une chaîne = "") sValeur est une chaîne = SysEnvironnement(sNomValeur) SI sValeur <> "" ALORS RENVOYER sValeur[[Position(sValeur, "=") + 1 A]] SINON RENVOYER sValeurDéfaut FIN Best regards, Alexandre Leclerc |
| |
| |
| | | |
|
| | |
| |
| Publicado el 25,enero 2015 - 14:32 |
Thanks.
Do I have to do anything on the server?
regards
issah |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,enero 2015 - 14:29 |
Hi issah,
Whel, this is all server code. But maybe I do not understand correctly. On the server you have to have a good SSL certificate and HTTPS configured properly with your website. i.e. if https is working properly, the above code will simply redirect the internet traffic from a non https page to it's https equivalent (using the same URL, the only difference being that one uses https as protocol).
I hope this answers your question.
Best regards, Alexandre Leclerc |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,enero 2015 - 20:36 |
Ok, thanks.
This means i have to start from IIS and configure the web server with a certificate.
My web skills are just not up to standard. WB makes the application development relatively easy but sometimes you realize you just don't understand the tech completely.
Thanks
regards
issah |
| |
| |
| | | |
|
| | | | |
| | |
|