* adapted to new httpd interface (httpd-options)

This commit is contained in:
interp 2002-04-25 08:10:38 +00:00
parent 5c424ac160
commit d8025632f7
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/scsh \
#!/home/andreas/bin/scsh \
-lm modules.scm -dm -o http-top -e top -s
!#
@ -12,6 +12,7 @@
(define-structure http-top (export top)
(open httpd-core
httpd-make-options
cgi-server
httpd-basic-handlers
seval-handler
@ -41,4 +42,8 @@
(set-gid -2) ; Should be (set-uid (->uid "nobody"))
(set-uid -2))) ; but NeXTSTEP loses.
(initialise-request-invariant-cgi-env)
(httpd ph 8001 "/zu/shivers"))))
(httpd (with-path-handler
ph
(with-port
8001
(with-root-directory "/home/andreas/hiwi/http")))))))