[racket] webserver mapping servlets to path
You just need to add another dispatcher to your first example to serve
the static files. Search the docs for
web-server/dispatchers/dispatch-files and use the procedure provided
by this module.
HTH,
N.
On Sun, Apr 17, 2011 at 6:06 AM, J G Cho <gcho at fundingmatters.com> wrote:
> To those familiar with Web Server,
...
>
> It sort of works but the PROBLEM with the above is, requests for
> static files are dispatched to say-hello. QUESTION: Is there a way to
> write a handler to serve static files? So I can replace say-hello with
> such procedure. (I think putting the Web Server behind Apache might
> work but have not tested it yet. Have Apache serve the static files
> first...)