简体   繁体   English

HTTP 加载失败,状态为 403。加载媒体资源

[英]HTTP load failed with status 403. Load of media resource

my friends have problems with centos webpanel, i use php native, when i add audio on the web an error appears: HTTP load failed with status 403. Load of media resource my friends have problems with centos webpanel, i use php native, when i add audio on the web an error appears: HTTP load failed with status 403. Load of media resource

my code:我的代码:

<audio autoplay>
  <source src='sound.mp3' type='audio/mpeg'>
</audio>

I have tried changing the permissions but it didn't work, I see the mistake is not wanting to read the scrib "resource" is there any possible solution我已尝试更改权限,但没有成功,我看到错误是不想阅读抄本“资源”是否有任何可能的解决方案

A similar issue I faced and solved by disabling Mod Security.我通过禁用 Mod Security 遇到并解决了类似的问题。

  • Go to the CentOS web panel Go 到 CentOS web 面板
  • On the dashboard CWP setting, there is a Mod Security option在仪表板 CWP 设置上,有一个 Mod Security 选项
  • Turn OFF the mod security or edit rules (if you need to ON mod security)关闭模组安全或编辑规则(如果你需要打开模组安全)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 完整的日历无法加载资源:服务器的响应状态为403(禁止) - full calendar Failed to load resource: the server responded with a status of 403 (Forbidden) 抑制加载媒体资源失败 - Suppress Load of media resource failed 加载资源失败-引导错误403 - Failed to load resource - bootstrap error 403 “无法加载资源:服务器响应状态为404(未找到)”和403禁止(但在codepen和localhost中工作正常) - “Failed to load resource: the server responded with a status of 404 (Not Found) ”and 403 forbidden(But works fine in codepen and localhost) 无法加载资源:服务器响应状态为403(禁止),包括css文件和js库 - Failed to load resource: the server responded with a status of 403 (Forbidden) including css files and js libraries 加载资源失败:服务器响应状态为404() - Failed to load resource: the server responded with a status of 404 () 加载资源失败:服务器响应状态为404 - Failed to load resource: the server responded with a status of 404 无法加载资源:服务器响应状态为404? 资源问题 - Failed to load resource: the server responded with a status of 404 ? Resource issue 加载资源失败:服务器响应状态 404(未找到) - Failed to load resource: the server responded with a status 404(not found) 加载资源失败:服务器响应状态为405(不允许使用方法) - Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM