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) :
Type in the text below:
           _            _   
  __ _  __| | ___ _ __ | |_ 
 / _` |/ _` |/ __| '_ \| __|
| (_| | (_| | (__| | | | |_ 
 \__, |\__,_|\___|_| |_|\__|
 |___/                      
Visually impaired? Let me spell it for you (wav file) download WAV