Thread:Project:Support desk/Mediawiki not displaying correctly over ssh tunnel/reply (2)

Hi!

I do not directly have a solution, but with adjusting $wgServer I think you are at the right place. I guess what you need is a way to check, if the wiki is currently called via SSH tunnel or not so that you can then set $wgServer accordingly. I do not know, which consequences a changing value of $wgServer has for other stuff; e.g. what will happen when a page is cached after the one kind of call and later pulled out again for the second kind of call.