[racket] Setting web server root
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?