php - MediaWiki (IIS) - CSS Is Not Loading Properly -
i have mediawiki running in azure web sites. when go directly site, css pages load fine. however, have several redirects site in place. when go through redirects, css fails load particular page. here specific errors/warnings in developer console of each browser:
in ie:
sec7113: css ignored due mime type mismatch
in firefox:
the stylesheet https://login.foobar.com/some_guid/oauth2/authorize?response_type=id_token&redirect_uri=https%3a%2f%2fwww.foowiki.com%2fsome_guid%2flogin&client_id=some_guid&scope=openid+profile+email&response_mode=form_post&state=%2fload.php%3fdebug%3dfalse%26lang%3den%26modules%3dmediawiki.legacy.commonprint%252cshared%257cmediawiki.skinning.interface%257cmediawiki.ui.button%257cskins.vector.styles%26only%3dstyles%26skin%3dvector%26*&nonce=some_guid_20150513234555 not loaded because mime type, "text/html", not "text/css".
in chrome:
refused execute script 'https://www.foowiki.com/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*' because mime type ('text/html') not executable, , strict mime type checking enabled.
i have been through links such (along host of others):
http://www.mediawiki.org/wiki/thread:project:support_desk/css_is_not_loading_properly
this seems common , recurring error (which don't see in regards iis). there simple rule or configuration can apply web.config handle this?
don't mask load.php behind oauth2 authorisation, let loaded.
Comments
Post a Comment