When I open the source (fyi: using firefox) and click on mos.gif, it is not displayed in my browser. When I click on mos.gif, the title of the FF browser turns to: Source of:
http://localhost:8081/mos.gif.
I have the text.html and mos.gif files in the same directory as my httpserver.exe application.
When I open test.html directly, the background is displayed correctly. When I open the source from that web page and click on mos.gif, it is displayed in my browser.
At this point I suspect there is a pathing problem, but given that the gif file is in the same directory as the html file, I'm having troubles accepting that conclusion.
Should I be setting the web page root/home directory somehow when the app starts up?