00451: https access converts into http unwillingly
Description: https urls are converted into http plaintext urls (within the frames?). This is bad if you want to stay in https. :)
How it was discovered: https access hanged on standard port 443 while receiving part of the html output. I did not have port 80 open for a web service. http access works fine on non-standard ports.
Problem: hrefs in generated source point incorrectly to assumed URL and port assignment (we want https)
Generated source is: "http://mysite.net/pmwiki/pmwiki.php?n=Main.SearchWiki" instead of: "https://mysite.net/pmwiki/pmwiki.php?n=Main.SearchWiki"
If webserver is not available to listen on port 80, it (the continued html frame?) hangs.
Repeatable: every time
Edit the config file, adding this to the end. Replace example.com url with your url.
We already have a core variable
$UrlScheme that is either 'https' or 'http' depending on the current URL scheme, but unless it is a wiki on the local network, it is recommended to just use 'https'. If it is a local mirror of an online wiki, the
$PubDirUrl can be set conditionally depending on different values in