[pmwiki-users] Https and ShortUrl

kirpi at kirpi.it kirpi at kirpi.it
Wed Feb 22 18:24:39 CST 2017


> not only (in our case) the Pmwiki "folder" but as much as possible of
> any website.

Perhaps I was not clear in my writing.
I am quite confused, sorry
As an example, I keep all my images in a /f/ folder (outside the Pmwiki one)
So, how can I have this image (forcely) served though https?
    http://www.example.com/f/Group/Page/image.jpg
Where should I place your suggested php lines?
     if($UrlScheme == 'http')
     Redirect($pagename,
     "https://www.yourwiki.net".$_SERVER['REQUEST_URI']);

Thanks!

Luigi



More information about the pmwiki-users mailing list