[hunchentoot-devel] static files in hunchtentoot 1.1.1
Edi Weitz
edi at weitz.de
Tue May 24 06:29:09 UTC 2011
There's no slash behind "exp" in your URL.
Edi.
On Tue, May 24, 2011 at 7:49 AM, Mark H. David <mhd at 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 at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
>
More information about the Tbnl-devel
mailing list