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)
Jens
On Sat, 3 Mar 2007 20:54:39 +0100, "Jens Teich" info@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"?
Edi Weitz wrote:
On Sat, 3 Mar 2007 20:54:39 +0100, "Jens Teich" info@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"?
"/test.css" does the trick, thanks Edi!
Jens