On Jan 28, 2015 6:18 AM, "Ilario Valdelli" valdelli@gmail.com wrote:
May someone help me?
I have read the short documentation of variables like:
$wgInternalServer $wgServer
But I don't understand how combine them to get the Mediawiki accessible internally with a local IP AND externally with a FQDN without broking the absolute links of the CSS and javascripts.
Thank you
-- Ilario Valdelli Wikimedia CH Verein zur Förderung Freien Wissens Association pour l’avancement des connaissances libre Associazione per il sostegno alla conoscenza libera Switzerland - 8008 Zürich Wikipedia: Ilario https://meta.wikimedia.org/wiki/User:Ilario Skype: valdelli Facebook: Ilario Valdelli https://www.facebook.com/ivaldelli Twitter: Ilario Valdelli https://twitter.com/ilariovaldelli Linkedin: Ilario Valdelli <http://www.linkedin.com/profile/view?id=6724469
Tel: +41764821371 http://www.wikimedia.ch _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
$wgInternalServer is for what squid/varnish see mediawiki as, never what any user sees it as.
Try having neither in LocalSettings.php . The autodetected defaults will probably do what you want.
--bawolff