diff --git a/Makefile b/Makefile index 6460c33..4df2f9d 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ distdir = /tmp DISTFILES = COPYING README RELEASE \ Makefile packages.scm \ - start-web-server start-extended-web-server \ + start-web-server \ httpd/*.scm ftpd/*.scm lib/*.scm \ doc/man.pdf doc/html \ doc/latex/*.tex doc/latex/*.sty doc/latex/*.t2p doc/latex/*.hdir \ diff --git a/start-web-server b/start-web-server index 75d3dca..dc6aa8c 100755 --- a/start-web-server +++ b/start-web-server @@ -10,6 +10,7 @@ exec scsh +lpsd -ll packages.scm -dm -o http-test -e main -s "$0" "$@" httpd-basic-handlers httpd-file-directory-handlers httpd-cgi-handlers + httpd-seval-handlers scheme-with-scsh) (begin @@ -126,7 +127,8 @@ exec scsh +lpsd -ll packages.scm -dm -o http-test -e main -s "$0" "$@" with-post-bind-thunk become-nobody-if-root with-request-handler (alist-path-dispatcher - (list (cons "cgi-bin" (cgi-handler cgi-bin-dir))) + (list (cons "cgi-bin" (cgi-handler cgi-bin-dir)) + (cons "seval" seval-handler)) (tilde-home-dir-handler "public_html" (rooted-file-or-directory-handler htdocs-dir)))))) diff --git a/web-server/root/htdocs/index2.html b/web-server/root/htdocs/index2.html index 85bc79a..dd605bc 100644 --- a/web-server/root/htdocs/index2.html +++ b/web-server/root/htdocs/index2.html @@ -11,12 +11,6 @@