[hunchentoot-devel] static files in hunchtentoot 1.1.1

Mark H. David mhd at yv.org
Tue May 24 05:49:13 UTC 2011


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




More information about the Tbnl-devel mailing list