开发者

direct GET works. image load does not

Ok, this is funny. I just installed a wordpress, and the images are not appearing. Firebug tells me I get a 403 forbidden error for all the images. However, if I copy and paste the url into the address bar, I get the 开发者_开发技巧image without any problem.

I don't get it (which is ok, considering it's almost 3 in the night)


Ok, the problem was hotlinking protection, which does not make sense anyway, since I am querying from within the same host. I disabled it and now it works.


It must be looking at the Referer header.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜