ShareThis

Sunday, March 4, 2012

[FIX] Failed to load resource: the server responded with a status of 403 (Forbidden)

Scenario: 

You're trying to grab some images in your html / php code that calls a css style sheet. Then youre running into this error in your browser console:

Failed to load resource: the server responded with a status of 403 (Forbidden)
I found that the problem was using the incorrect slashes for the image directory.

The Wrong Way:
"images\main\ico.png"
The Right Way
"images/main/ico.png"
Hope this helps. Didn't find any solutions online for the problem, but used some common sense to figure it out.

0 comments:

Post a Comment