[racket] Serving a static html file
Dear Jay,
I can replicate the problem with the test static example from the web server tutorial:
#lang web-server/insta
(define (start request)
'(html (head (title "Testing"))
(link ((rel "stylesheet")
(href "/test-static.css")
(type "text/css")))
(body (h1 "Testing")
(h2 "This is a header")
(p "This is " (span ((class "hot")) "hot") "."))))
(static-files-path "htdocs")
My html file is in htdocs. I was expecting the html to be served by the web server without any additional coding. Is there something I'm missing?
The server is run from DrRacket 5.0.2 and the OS is Vista Home Premium SP2.
Regards Giles.