Mediawiki/Secure:修订历史

来自OSSmedia

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

2024年2月29日 (星期四)

  • 当前之前 10:172024年2月29日 (四) 10:17Brucekomike 讨论 贡献 757字节 +757 创建页面,内容为“mediawiki 会在安装时提示,文件上传目录有脚本执行漏洞。 == 阻止脚本执行 == 目前官网提供以下配置文件(apache2) <syntaxhighlight lang="nginx"> <Directory "/Library/MediaWiki/web/images"> # Ignore .htaccess files AllowOverride None # Serve HTML as plaintext, don't execute SHTML AddType text/plain .html .htm .shtml .phtml # Don't run arbitrary PHP code. php_admin_flag engine off # Tell browse…”