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.
精彩评论