[mod-lisp-devel] compiling mod-lisp

Marko Riedel riedelmo at mathematik.uni-stuttgart.de
Fri Oct 9 19:45:50 UTC 2009


Takehiko Abe writes:
 > Marko Riedel wrote:
 > 
 > > Do I need to install the apache sources and if yes, what is the right
 > > package? 
 > 
 > No. You only need either apache2-threaded-dev or apache2-prefork-dev. 
 > The package include apxs (APache eXtenSion tool). Use it to compile the 
 > source e.g.:
 > 
 > $ apxs2 -c mod_lisp2.c

Dear friends,

this comman worked as it should. However, I'm still getting a timeout
from the Lisp process. Here is my test program:

(format *modlisp-socket* "~a~%"  "HTTP/1.1 200 OK")
(format *modlisp-socket* "~a~%~%" "Content-Type: text/html")

(format *modlisp-socket* "~a~%" "<HTML><BODY>Hello, world.</BODY></HTML>")

Could it be that I need to compute the Content-Length header and add
it to the output? That seems a cumbersome way of going about things. Is
there a package that does this automatically?

Best regards,

Marko Riedel




More information about the mod-lisp-devel mailing list