External Editor
Yamb
Web iPhoto Access
 123 membres
Connectés :
( personne )
2049403 visiteurs
5 visiteurs en ligne
|
- Forum
- Web iPhoto Access
Sujet n° 343 |
Wipha with https |
le 05/01/2013 @ 00:39
par guigui

visiteur
|
Hello,
I've installed wipha successfully on a ubuntu server with a local mirror of my iPhoto library.
I use as a webserver apache2 configured to use https by default.
Everything works great except login and logout which tend to redirect to the server address with http and not https. Modifying the address in the browser bar works fine, but that can only be a temporary solution.
Any idea of what part of main.php or other file I should modify?
Thanks a lot for your answer and keep up the good work! |
|
|
Réponse n° 1
--------
le 05/01/2013 @ 00:54
par Guigui

visiteur
|
OK, replying to myself...
It's a bit dirty but I found a solution. so if anyone is interested, do the following :edit the utils.php file in libs folder and replace all occurrences of http:// by https://
don't replace this section, it contains external link that are not impacted by the problem :function cssValidUrl() { $val = "http://jigsaw.w3.org/css-validator/validator?uri="; return validUrl($val);
}
//----------------------------------------------
function xhtmlValidUrl($libId) { $val = "http://validator.w3.org/check?uri="; return validUrl($val, $libId);
}
Cheers
|
|
|
 sujet actif  sujet clos  Important!  Nouveau message -  Rectifier message  Clôturer sujet  Remonter
|