* adpated to new handler combinators
* change script call header (using exec ... now)
This commit is contained in:
parent
2c9b931100
commit
017d5408e8
|
@ -1,5 +1,6 @@
|
|||
#!/home/andreas/bin/scsh \
|
||||
-lm modules.scm -dm -o http-top -e top -s
|
||||
#!/bin/sh
|
||||
IFS=" "
|
||||
exec scsh -lm ../packages.scm -dm -o http-top -e top -s "$0" "$@"
|
||||
!#
|
||||
|
||||
;;; Scheme Underground Web Server -*- Scheme -*-
|
||||
|
@ -27,7 +28,9 @@
|
|||
`(("h" . ,(home-dir-handler "public_html"))
|
||||
("seval" . ,seval-handler)
|
||||
("cgi-bin" . ,(cgi-handler "/usr/local/etc/httpd/cgi-bin")))
|
||||
(tilde-home-dir-handler "public_html"
|
||||
(make-path-handler
|
||||
tilde-home-dir-handler-predicate
|
||||
(tilde-home-dir-handler "public_html")
|
||||
(rooted-file-handler "/usr/local/etc/httpd/htdocs"))))
|
||||
|
||||
|
||||
|
@ -47,4 +50,4 @@
|
|||
ph
|
||||
(with-port
|
||||
8001
|
||||
(with-root-directory "/home/andreas/hiwi/http")))))))
|
||||
(with-root-directory "/usr/local/etc/httpd")))))))
|
||||
|
|
Loading…
Reference in New Issue