Add comment about serving the servlets' source.
(We and the browsers cannot handle .SCM files.)
This commit is contained in:
parent
0bd2a7b254
commit
dfe5c56163
|
@ -191,6 +191,12 @@ exec scsh -lm $sunet/packages.scm -lm $ssax/lib/packages.scm -lm $sunet/httpd/se
|
||||||
; (cons "info" (info-handler #f #f #f
|
; (cons "info" (info-handler #f #f #f
|
||||||
; "Generated by info-gateway"))
|
; "Generated by info-gateway"))
|
||||||
; (cons "cgi-bin" (cgi-handler cgi-bin-dir))
|
; (cons "cgi-bin" (cgi-handler cgi-bin-dir))
|
||||||
|
;; Browsers cannot handle .SCM files: Opera shows
|
||||||
|
;; it as HTML, Netscape asks for a program to
|
||||||
|
;; view it. ROOTED-FILE-OR-DIRECTORY-HANDLER
|
||||||
|
;; should serve .SCM files as text/plain (I did
|
||||||
|
;; not want to write a handler just for this file
|
||||||
|
;; type.)
|
||||||
(cons "source" (rooted-file-or-directory-handler servlet-dir))
|
(cons "source" (rooted-file-or-directory-handler servlet-dir))
|
||||||
(cons "img" (rooted-file-handler images-dir))
|
(cons "img" (rooted-file-handler images-dir))
|
||||||
(cons "servlet" (servlet-handler servlet-dir)))
|
(cons "servlet" (servlet-handler servlet-dir)))
|
||||||
|
@ -201,4 +207,4 @@ exec scsh -lm $sunet/packages.scm -lm $ssax/lib/packages.scm -lm $sunet/httpd/se
|
||||||
|
|
||||||
;;; Local Variables:
|
;;; Local Variables:
|
||||||
;;; mode:scheme
|
;;; mode:scheme
|
||||||
;;; End:
|
;;; End:
|
||||||
|
|
Loading…
Reference in New Issue