Re: [racket] Serving a static html file

2010-12-06 Thread racketusers . 20 . gilesroberts
I'm glad it is working Jay Sent from my iPhone On Dec 6, 2010, at 11:17 AM, Giles Roberts wrote: > Dear Jay, > > Thanks for letting me know I'm on the right track. I've reduced my html file > to the simplest possible and it's now producing the expected result. Must be > something within

Re: [racket] Serving a static html file

2010-12-06 Thread racketusers . 20 . gilesroberts
Dear Jay, Thanks for letting me know I'm on the right track. I've reduced my html file to the simplest possible and it's now producing the expected result. Must be something within the hairy beast I was initially trying to serve that was causing the upset. Regards Giles. ___

Re: [racket] Serving a static html file

2010-12-06 Thread racketusers . 20 . gilesroberts
I cannot replicate the problem. Maybe if you send me an tarball with an accurate picture of the situation I can find some subtlety. But when I use the file you've given and put some HTML file in the "htdocs" directory, I get the expected result. Jay On Sun, Dec 5, 2010 at 12:41 AM, Giles Roberts

Re: [racket] Serving a static html file

2010-12-04 Thread racketusers . 20 . gilesroberts
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

[racket] Serving a static html file

2010-12-03 Thread racketusers . 20 . gilesroberts
Dear All, Using the standard web server, how do I serve a static html file? I have an htdocs folder from which I can successfully include css files for my dynamic pages. If I put a plain html file in htdocs and request it I get the html encoded version of the html presented. How do I get th