Having hand coded a few thousand web pages since the early '90s, I feel stupid having been stumped by what is likely a simple problem.
I have a subdomain: sub.mydomain.com. I dropped some stuff in it that in the past, in its on dedicated domain, worked fine. However, the images do not work. The image files are in a /graphics/ subdirectory. Here's the code for the "header.html" file (I use server side includes):
<h1 id="title">Header Description<img class="logo" src="/graphics/header-1.jpg"
alt="Header Description" width="720" height="177"></h1>
- <h1 id="title">Header Description<img class="logo" src="/graphics/header-1.jpg"
- alt="Header Description" width="720" height="177"></h1>
In Firefox and IE 8 all I get is the two text descriptions, and what appears to be the correct amount of space reserved for the header (i.e., 720x177). Looking at the source, it is clear that the SSI's are working (everything is resolved, CSS works, etc.) But, alas, no jpeg file.
I "thought" that with subdomains I could just drop the contents of the old site into the new subdomain root and the relative addressing would work.
How can I fix this?