gpt4 book ai didi

ssl - 如果启用 SSL,Mediawiki 无法加载 CSS

转载 作者:太空宇宙 更新时间:2023-11-03 14:49:21 25 4
gpt4 key购买 nike

在 mediawiki 代码库的某处有一个硬编码的 http://,导致了这些错误。查不到,什么。

Index:13 Mixed Content: The page at 'https://xy/Index' was loaded over HTTPS, but requested an insecure stylesheet 'http://xy/load.php?debug=false&lang=hu&modules=mediawiki.legacy.co…face%7Cmediawiki.ui.button%7Cskins.vector.styles&only=styles&skin=vector&*'. This request has been blocked; the content must be served over HTTPS.
Index:1 Mixed Content: The page at 'https://xy/Index' was loaded over HTTPS, but requested an insecure script 'http://xy/load.php?debug=false&lang=hu&modules=startup&only=scripts&skin=vector&*'. This request has been blocked; the content must be served over HTTPS.

最佳答案

在您的 mediawiki 文件夹中,有一个名为 LocalSettings.php 的文件

您需要编辑该文件并将 $wgServer 值从 http://更改为 https://

关于ssl - 如果启用 SSL,Mediawiki 无法加载 CSS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35840145/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com