Welcome to the CHICKEN Scheme pasting service

send-static-file? added by dieggsy on Thu May 23 15:07:37 2019

;; $ < $HOME/test.html
;; <h1> Test </h1>

;; $ ls -l test.html
;; -rw-r--r-- dieggsy ...

;; run in $HOME:
(import spiffy)

(vhost-map `((".*" . ,(lambda (c) (send-static-file "about.html")))))

(start-server)

;; Visit localhost:8080
;; Get 403 Forbidden

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Proper ... recursion is required by the Scheme specification.
Visually impaired? Let me spell it for you (wav file) download WAV