开发者

Why am i getting a 403 forbidden when using a img tag?

When trying to use

<img src="../Ginger.jpeg" />

I am getting a 403 error.

Here is the page which is requesting:

http://lapond开发者_StackOverflow中文版erosakennels.com/beagles/memories/ginger/index.html

What is going on here am I just tired?


if you look at http://laponderosakennels.com/beagles/memories/Ginger.jpeg it throws a 403 error.. there is a permission issue for the same.

The problem is probably cos you are referring to the wrong file.. i took the liberty of looking at your folder structure and you are referring to ginger.jpeg which has a permission issue and there is a file ginger.jpg that works fine.

Also make sure you refer to the file correctly.. i.e ginger.jpg


This can also be caused by using hotlinking protection. So if hotlinking protection is used, make sure that the URL for your website is added to the white list. Also keep in mind that www.yourdomain.com and yourdomain.com are considered two different URLs.


403 stands for permission denied. You need to check the permissions for "Ginger.jpeg".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜