[pmwiki-users] pmwiki and https

Thierry pmwiki at lma.metelu.net
Wed Jul 23 02:19:05 PDT 2025


Hi,

if you look at the source of the webpage (by typing CTRL+u on firefox),
you can see that the URLs that point to the paths /wiki/pub/... enforce
the http protocol, e.g. http://dodin.org/wiki/pub/lib/pmwiki-core.css

It is likely that the $PubDirUrl variable, that is defined the in the
local/config.php file (or local/farmconfig.php), defines a URL with a
http protocol. You can just replace http with https here, e.g.

	$PubDirUrl = 'https://dodin.org/wiki/pub';

Alternatively, you can set a path without the protocol, e.g.

	$PubDirUrl = '/wiki/pub';

Ciao,
Thierry


Le Wed, Jul 23, 2025 at 10:31:52AM +0200, jean-daniel dodin a écrit :
> Hello,
> 
> My pmwiki site is pretty ancient, but I like it :-).
> 
> I just (some weeks ago at least) noticed that at first glance it appears not
> well
> 
> after some interrogations it seems linked to https. As far as I know my
> server is https compatible. I use the standard pmwiki responsive skin
> 
> https://www.pmwiki.org/wiki/Skins/PmWiki-responsive
> 
> these may not be in the very last version, but mot too old neither
> 
> https://dodin.org/index.php?n=Main.HomePage
> 
> is there something I have to check? My browsers have my site on cache so
> testing is pretty hard :-(
> 
> thanks
> jdd
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users



More information about the pmwiki-users mailing list