[pmwiki-users] HTTPS and pmwiki
Joachim Durchholz
jo at durchholz.org
Thu Sep 21 11:09:50 CDT 2006
Patrick R. Michaud schrieb:
>
> You need to set a custom value of $ScriptUrl that includes the 'https:'.
> PmWiki currently doesn't detect this on its own.
For my projects, I found that the best way to avoid issues with
file-to-URL mappings, host name detection, and protocol detection was to
simply generate relative URLs.
I.e. my HTML would contain
<a href="somewhere_else.html">
<a href="../some_other_group/sibling_page.html">
instead of
<a href="http://path/to/project/this_group/somewhere_else.html">
<a href="http://path/to/project/some_other_group/sibling_page.html">
I'm not 100% sure how the the .. link would be handled though - servers
would have to be prepared to properly handle
http://path/to/project/this_group/../somewhere_else.html
and that might indeed be a problem. (Is it?)
Regards,
Jo
More information about the pmwiki-users
mailing list