From 1b0b3f5690678fc4edae72e595cccb83878b0f0f Mon Sep 17 00:00:00 2001 From: mainzelm Date: Thu, 20 Feb 2003 16:37:11 +0000 Subject: [PATCH] Directory handlers now have a default option. --- start-extended-web-server | 6 ++---- start-web-server | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/start-extended-web-server b/start-extended-web-server index a947a3a..90a2fa0 100755 --- a/start-extended-web-server +++ b/start-extended-web-server @@ -141,8 +141,7 @@ exec scsh +lpsd -ll packages.scm -dm -o http-test -e main -s "$0" "$@" with-log-file log-file-name with-request-handler (alist-path-dispatcher - (list (cons "h" (home-dir-handler "public_html" - (make-file-directory-options))) + (list (cons "h" (home-dir-handler "public_html")) (cons "seval" seval-handler) ;; You may want to adapt this to your site. (cons "man" (rman-handler 'man @@ -154,8 +153,7 @@ exec scsh +lpsd -ll packages.scm -dm -o http-test -e main -s "$0" "$@" (cons "info" (info-handler #f #f #f "Generated by info-gateway")) (cons "cgi-bin" (cgi-handler cgi-bin-dir))) - (rooted-file-or-directory-handler htdocs-dir - (make-file-directory-options)))))) + (rooted-file-or-directory-handler htdocs-dir))))) )) ;; EOF diff --git a/start-web-server b/start-web-server index cd18692..d418d90 100755 --- a/start-web-server +++ b/start-web-server @@ -127,9 +127,7 @@ exec scsh +lpsd -ll packages.scm -dm -o http-test -e main -s "$0" "$@" (list (cons "cgi-bin" (cgi-handler cgi-bin-dir))) (tilde-home-dir-handler "public_html" (rooted-file-or-directory-handler - htdocs-dir - (make-file-directory-options)) - (make-file-directory-options)))))) + htdocs-dir)))))) )) ;; EOF