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
|
||||
; "Generated by info-gateway"))
|
||||
; (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 "img" (rooted-file-handler images-dir))
|
||||
(cons "servlet" (servlet-handler servlet-dir)))
|
||||
|
|
Loading…
Reference in New Issue