winxp platform SBCL+Apache+mod_lisp
Posted: Sat Oct 04, 2008 2:41 am
I want to ask one headache question . I setup SBCL (latest win version)+Apache (v 2.2.8)+mod_lisp2 to test a lisp base web application. here is my httpd.conf relative with mod_lisp settings.
and my test lisp script hello.lisp:
what I get http://localhost/lisp/hello.lisp is "Internal Server Error".
and the apache error log is "[error] (70014)End of file found: error reading from Lisp"
I do get help from google time and time again. I read most of article on this topic I can obtain. I can't tackle it! help me please.
thanks in advance.
Code: Select all
LoadModule lisp_module modules/mod_lisp2.so
LispServer 127.0.0.1 4005 "lisp"
AddHandler lisp-handler .lsp
<Location /lisp>
SetHandler lisp-handler
</Location>
Alias /lisp/ "d:/Program Files/emacs/site-lisp/"
<Directory "d:/Program Files/emacs/site-lisp">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
DirectoryIndex index.lsp
</Directory>
Code: Select all
(format t "Content-type: text/html~%")
(format t "~%")
(format t "<html>~%")
(format t "<head>~%")
(format t "<title>why do I like "titular"</title>~%")
(format t "</head>~%")
(format t "<body~%>")
(format t "<p>What is it?~%")
(format t "It's a simple CGI program~%")
(format t "in Lisp</p>~%")
(format t "</body>~%")
(format t "</html>~%")
and the apache error log is "[error] (70014)End of file found: error reading from Lisp"
I do get help from google time and time again. I read most of article on this topic I can obtain. I can't tackle it! help me please.
thanks in advance.