简体   繁体   中英

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.

  • Go to the CentOS web panel
  • On the dashboard CWP setting, there is a Mod Security option
  • Turn OFF the mod security or edit rules (if you need to ON mod security)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM