[racket] Setting web server root

From: Noel Welsh (noelwelsh at gmail.com)
Date: Mon Mar 14 09:18:21 EDT 2011

You want to provide a servlet-regexp argument to serve/servlet. ".*" should do.

HTH,
N

On Mon, Mar 14, 2011 at 12:38 PM, Mark Carter <mcturra2000 at yahoo.co.uk> wrote:
> Suppose I just create a simple web server:
...
>
> ;;; Start the server
> (define (go)
>  (define log-to (build-path (find-system-path 'home-dir)
>                             "racket-server-access.txt"))
>  (serve/servlet kickoff #:port 8080  #:servlet-path "/oner.rkt"
>                 #:listen-ip #f #:log-file log-to))

> How do I get kickoff to be the home page?



Posted on the users mailing list.