[pmwiki-users] https:server/mywiki/

Patrick R. Michaud pmichaud at pobox.com
Sun Oct 16 18:27:32 CDT 2005


On Sun, Oct 16, 2005 at 10:46:46PM +0200, Patrick Ogay wrote:
> I just installed an apache-ssl, php works fine, but now I have the problem
> that all links in pmwiki are generated with http: instead of https:
> https://212.103.64.226/pmwiki-2.0.10/pmwiki.php
> 
> Should https:server  and http:server:443/ be the same?
> How can I solve the problem  that the links, pic, css are correct

You need to explicitly set $ScriptUrl and $PubDirUrl in local/config.php, 
otherwise PmWiki defaults to using 'http:'.

    $ScriptUrl = 'https://212.103.64.226/pmwiki-2.0.10/pmwiki.php';
    $PubDirUrl = 'https://212.103.64.226/pmwiki-2.0.10/pub';

See also http://www.pmwiki.org/wiki/PITS/00527 .

Pm




More information about the pmwiki-users mailing list