[plt-scheme] Using web-server/servlet-env to host a root level servlet

From: Rob Hunter (rob.hunter at gmail.com)
Date: Tue Sep 16 20:59:41 EDT 2008


I'm trying out the web server code described here
(http://docs.plt-scheme.org/web-server/servlet-env_ss.html), but I
can't figure out how to make my servlet hosted at the root level.  For
example,  the program

(require web-server/servlet-env)

 (lambda (req) "hiya")
 #:servlet-path	(string->path "foo.ss"))

gives my a page at http://localhost:8000/foo.ss, but changing the path
to "" or "." doesn't work.  Any suggestions?


Posted on the users mailing list.