Home  >  Q&A  >  body text

javascript - The image can be displayed on the website, but the console still reports error 403 (Forbidden)

My own B website, citing the pictures in my own A website database,
More than a dozen pictures, every time I open it, 1~2 pictures are not displayed, and occasionally all of them are displayed.
Every time I open the webpage, there are 403 (Forbidden) errors for more than a dozen pictures (these dozen error-reported pictures can all be displayed on the webpage)

PHP中文网PHP中文网2669 days ago691

reply all(1)I'll reply

  • 为情所困

    为情所困2017-06-28 09:25:26

    Have you set up anti-hotlink protection on website A?
    Theoretically, it should not be displayed. It can be displayed because you have the image in the cache.
    If you don’t believe it, you can press Ctrl+F5 on website B to try a deep refresh?

    reply
    0
  • Cancelreply