Hi, thanks for answering.
It can be reproduces by these two files below. Trying to open test.ssp (any
ssp-file seems to have this problem), crashes the server. I have tried to save
files in both ascii and utf8 to see if this was the problem.
Petter
-- test.ssp ---
<!-- test.ssp -->
<html>
<head>
<?scheme
(no-cache)
(display (ajax))
(define words '(one two three))
?>
</head>
<body>
<p>
The current time is: <span id="time"><b>...</b></span> </p> <?
(remote-timer
2
(lambda () (printf "<b>~a</b> " (seconds->string (current-seconds))))
update: "time")
?>
</body>
</html>
-----------
server.scm
(use utf8)
(use spiffy)
(use ssp-handler)
(use web-scheme-handler)
(use ajax)
(use sqlite3)
(use spiffy-utils)
(spiffy-vhost-map `((".*" .
,(lambda (continue)
(parameterize ((spiffy-file-ext-handlers `(("ssp" . ,ssp-handler) ("ws" .
,web-scheme-handler)))
(spiffy-root-path
"/home/pe/ordnett_micro_old"))
(continue))))))
(start-server port: 8080 root: "." debug: #t)
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users