I'm running the http server with the web pages stored on my sdcard. (I'm actually using the software put out by Dr Dobb's, http://www.ddj.com/embedded/211300170.)
I have an index.html file for a standard photo album (generated by Jalbum): i.e., thumbnails in a folder named thumbs and bigger pictures in another folder.
The thumbnails won't load. When I view source, I see that the path to the thumbnails looks like: src=" /picture1.jpg", instead of: src="thumbs/picture1.jpg". (The latter is what is actually in the file on the sdcard.)
Strange. On a lark, I changed the file to: src="./thumbs/picture1.jpg" and it worked. (No blanked out directory.)
Can anyone think of a reason that "thumbs/picture1.jpg" becomes " /picture1.jpg" over the http server? (While, at the same time, "./thumbs/picture1.jpg" works fine.)
Strange problem with the http server
Re: Strange problem with the http server
I should say nevermind. I realize now that Dr Dobb's software specifies its own Get function. I just need to debug it.
Thanks anyway.
Thanks anyway.