Thunderbird Extensions
Apple - mac
Donation
Make a donation to help WiPhA development

Search




Preferences

Connect again
---

Your user name :

Your secret code


 Count of members 123 members


Connected :

(nobody)
Visits

 2073809 visitors

 17 visitors online

Private
forum.gifForum - Web iPhoto Access - Topic #343

Forum - Forum
Web iPhoto Access - Web iPhoto Access


active  Topic # 343  Wipha with https

05/01/2013 @ 00:39
by guigui

Anonymous

visitor

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!
  Post an answer  Top
Answer n 1
--------
05/01/2013 @ 00:54
by Guigui

Anonymous

visitor
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
  Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



^ Top ^