私の quicklisp スクリプト (以下を参照) は非常にうまく機能しますが、Apache2 では機能しません。Apache2 が.clisprc.lisp
ファイルを読み込めないのでしょうか?
lisp-cgi-utils
およびという名前のパッケージをインストールしようとしましたpg
。
CGI に quicklisp モジュールを含めることについてのアドバイスをいただければ幸いです。
#!/usr/bin/clisp
(load "/home/kimbom/.clisprc.lisp")
(with-open-file
(standard-output "/dev/null" :direction :output :if-exists :supersede)
(ql:quickload "lisp-cgi-utils")
(ql:quickload "pg"))
(format t "Content-Type: text/html; charset=UTF-8~%~%~%")
(princ (html:html-header "html.lisp example page"))
(princ (html:body
(html:h1 "test page for html.lisp package")
(html:h2 "lists")
(html:ul
(html:li "first entry")
(html:li "second entry"))
(html:p "a simple paragraph" " and more text")
(html:p '((class . "tester")) "another one")))
(princ (html:html-footer))
(bye)