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.