I am working on getting a website up and running which was design by someone else, but I am running into a bizarre issue I have never seen before.
Throughout the website, all file paths are relative, so for instance, all img tags have an src like src='i/image.png'. The same is true for css link tags, script tags, etc. This is quite normal, and I have never had any issues with this in the past.
The problem is that when some people access the site with their browser, none of these resources are loading, but for others the site loads just fine. After examining the page on one of the computers it is not working on, I see the URL for images are http://i/image.png
, while on the working computers it is http://mydomain.com/i/image.png
.
Any explanation for this? Why would some computers (all using IE) fail to add the domain, while others work correctly? We are behind a proxy here at work, if that is a possible culprit, as I have yet to see the site load incorrectly from outside our network. Also, site is using doctype of XHTML 1.0 Transitional.