Topic on Project:Support desk

Images are not visible

5
2A02:120B:C3C9:7F10:359C:1339:3788:D956 (talkcontribs)
Ciencia Al Poder (talkcontribs)

There's a problem with the configuration of your server.

When a image is requested directly (opening the URL directly on the browser) it displays correctly, but when it's embedded inside a page, it responses with a HTTP 302 redirect.

HEAD /images/thumb/a/a7/222830189_11653202548736095362.jpg/180px-222830189_11653202548736095362.jpg HTTP/1.1
Host: pokemon-go-wiki.ch


HTTP/1.1 200 OK
Cache-Control: public, max-age=604800
Expires: Sat, 30 Jul 2016 13:01:41 GMT
ETag: "31ea-57935b22-5349d6c553b5d0c2"
Last-Modified: Sat, 23 Jul 2016 11:55:14 GMT
Content-Type: image/jpeg
Content-Length: 12778
Date: Sat, 23 Jul 2016 13:01:41 GMT
Accept-Ranges: bytes
Connection: Keep-Alive


HEAD /images/thumb/a/a7/222830189_11653202548736095362.jpg/180px-222830189_11653202548736095362.jpg HTTP/1.1
Host: pokemon-go-wiki.ch
Referer: http://pokemon-go-wiki.ch/index.php/Spezial:Dateien

HTTP/1.1 302 Found
Date: Sat, 23 Jul 2016 13:02:36 GMT
Accept-Ranges: bytes
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://
Connection: Keep-Alive

Maybe your server has a rule "trying" to prevent image hotlinking, but it's broken

EN Pilz (talkcontribs)

Yes there is a hotlinking protection active but even when the hotlinking protection is deactivated it doesn't work.

Is there something different I can do?

This post was hidden by EN Pilz (history)
Ciencia Al Poder (talkcontribs)

If hotlinking protection is done on the server configuration (and not just in a .htaccess), you need to restart the server (or reload server config manually) for the change to take effect. Otherwise, I don't know where else to look. Maybe look at the server's logs, and double-check that there aren't remaining rewrite rules matching the referer header.

Reply to "Images are not visible"