I cannot figure out how to serve static files (e.g., blah.gif) in Hunchentoot 1.1.1.
I do
(hunchentoot:create-folder-dispatcher-and-handler "/exp/" "c:\hunchentoot\")
and then have a URL
http://127.0.0.1:1234/exp?default-categorizer*
that generates lots of
<img src="leaf.gif">
and the like. The file "leaf.gif" is in the directory "c:\hunchentoot".
However, the GIF file is not being served. I get the standard substitution image.
What's the solution?
Thanks,
Mark
There's no slash behind "exp" in your URL.
Edi.
On Tue, May 24, 2011 at 7:49 AM, Mark H. David mhd@yv.org wrote:
I cannot figure out how to serve static files (e.g., blah.gif) in Hunchentoot 1.1.1.
I do
(hunchentoot:create-folder-dispatcher-and-handler "/exp/" "c:\hunchentoot\")
and then have a URL
http://127.0.0.1:1234/exp?default-categorizer*
that generates lots of
<img src="leaf.gif">
and the like. The file "leaf.gif" is in the directory "c:\hunchentoot".
However, the GIF file is not being served. I get the standard substitution image.
What's the solution?
Thanks,
Mark
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel