[hunchentoot-devel] static files

Edi Weitz edi at agharta.de
Sat Mar 3 23:03:43 UTC 2007


On Sat, 3 Mar 2007 20:54:39 +0100, "Jens Teich" <info at jensteich.de> wrote:

> what's wrong with this?
>
> (push (create-static-file-dispatcher-and-handler 
>        "test.css" #P"test.css") *dispatch-table*)
> ==>
> (#<Closure (CREATE-STATIC-FILE-DISPATCHER-AND-HANDLER . 1) 200DAA1A>
>  DISPATCH-EASY-HANDLERS
>  DEFAULT-DISPATCHER)

"test.css" doesn't look like a URI that will ever be matched.  How
about "/test.css" or "/some/path/test.css"?



More information about the Tbnl-devel mailing list