Thanks Sven, I'll try it out one more time, and if it doesn't work I'll keep with the S-HTTP-SERVER.<br><br><div><span class="gmail_quote">On 4/20/07, <b class="gmail_sendername">Sven Van Caekenberghe</b> <<a href="mailto:scaekenberghe@common-lisp.net">
scaekenberghe@common-lisp.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Nico,<br><br>I just configured my machine (MacBook Pro, Mac OS X
10.4.9) 'from<br>scratch' to run KPAX under Apache+mod_lisp and it worked as described<br>in my older posting to this list (Feb 4 2006). Here are some<br>transcripts:<br><br>$ httpd -v<br>Server version: Apache/1.3.33 (Darwin)
<br>Server built: Aug 19 2006 07:55:18<br><br>[sven@voyager:~/apps/mod_lisp]$ head mod_lisp.c<br>#define MOD_LISP_VERSION "2.43"<br>#define HEADER_STR_LEN 500<br><br>/*<br> Version 2.43<br> fixed possible memory leak when the connection to the Lisp process
<br>fails (Alain Picard)<br> Set r->mtime directly (Edi Weitz)<br><br> Version 2.42<br> Added "Lisp-Content-Length" header<br><br>[sven@voyager:~/apps/mod_lisp]$ sudo apxs -i -c mod_lisp.c<br>Password:<br>
gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -<br>pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/<br>httpd -c mod_lisp.c<br>In file included from /usr/include/httpd/ap_config.h:1129,
<br> from /usr/include/httpd/httpd.h:29,<br> from mod_lisp.c:182:<br>/usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern"<br>redefined<br>In file included from /usr/include/httpd/httpd.h:29,
<br> from mod_lisp.c:182:<br>/usr/include/httpd/ap_config.h:1025:1: warning: this is the location<br>of the previous definition<br>cc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -o<br>mod_lisp.so mod_lisp.o
<br>cp mod_lisp.so /usr/libexec/httpd/mod_lisp.so<br>chmod 755 /usr/libexec/httpd/mod_lisp.so<br><br>[sven@voyager:/etc/httpd]$ grep -A 3 SVC httpd.conf<br># Addition: SVC<br>LoadModule lisp_module libexec/httpd/mod_lisp.so
<br><br># Reconstruction of the complete module list from all available modules<br>--<br># Addition: SVC<br>AddModule mod_lisp.c<br><br>#<br>--<br># Addition: SVC<br>Include /private/etc/httpd/kpax.conf<br><br>[sven@voyager
:/etc/httpd]$ cat kpax.conf<br><IfModule mod_lisp.c><br>LispServer <a href="http://127.0.0.1">127.0.0.1</a> 2001 "kpax"<br><Location /kpax/dynamic/><br> SetHandler lisp-handler<br></Location>
<br>Alias /kpax/static/gpsbuddy/ "/Users/sven/svn/gpsbuddy-web/trunk/lisp/<br>rsrc/static-html/"<br>Alias /kpax/static/ "/Users/sven/darcs/kpax/example/static/"<br></IfModule><br><br>[sven@voyager
:/etc/httpd]$ sudo apachectl configtest<br>Processing config directory: /private/etc/httpd/users/*.conf<br>Processing config file: /private/etc/httpd/users/sven.conf<br>Syntax OK<br><br>[sven@voyager:/etc/httpd]$ sudo apachectl restart
<br>/usr/sbin/apachectl restart: httpd restarted<br><br>And now in LispWorks:<br><br>KPAX-USER 90 > (start-kpax :server-class 'mod-lisp-server)<br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :TODO-LIST 21512563>
<br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :TODO-LIST 21512563><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :SESSION1 21512FEB><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :SESSION1 21512FEB>
<br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :LIST-WEB-APPS 218B2D9B><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :LIST-WEB-APPS 218B2D9B><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :UPLOAD2 2149533F>
<br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :UPLOAD2 2149533F><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :WIKI 218B98EB><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :WIKI 218B98EB><br>
;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :FACTORIAL1 214F3747><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :FACTORIAL1 214F3747><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :SECURE-LOGIN 218B4E6F>
<br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :SECURE-LOGIN 218B4E6F><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :UPLOAD3 2185808B><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :UPLOAD3 2185808B>
<br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :REDDIT 218D789F><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :REDDIT 218D789F><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :SECURE1 2149799B>
<br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :SECURE1 2149799B><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :WELCOME 218E1887><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :WELCOME 218E1887>
<br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :MENU1 218B1AEF><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :MENU1 218B1AEF><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :NO-SESSION1 214B8087>
<br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :NO-SESSION1 214B8087><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :BENCHMARK1 218794EF><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :BENCHMARK1 218794EF>
<br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :KIWI 218B971F><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :KIWI 218B971F><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :BROWSER1 218B870F><br>
;; KPAX 20070420T075517 INFO Started #<WEB-APP :BROWSER1 218B870F><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :TABS1 218B04BB><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :TABS1 218B04BB><br>
;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :FORMS1 21431C77><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :FORMS1 21431C77><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :LSP 218BB157><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :LSP 218BB157>
<br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :FORMS2 2187A473><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :FORMS2 2187A473><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :UPLOAD1 21496E7F>
<br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :UPLOAD1 21496E7F><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :HELLOWORLD1 214F6AF3><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :HELLOWORLD1 214F6AF3>
<br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :CALCULATOR 218AEB93><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :CALCULATOR 218AEB93><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :PI 218CA02B>
<br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :PI 218CA02B><br>;; KPAX 20070420T075517 INFO Stopped #<WEB-APP :SNOOP1 217C650F><br>;; KPAX 20070420T075517 INFO Started #<WEB-APP :SNOOP1 217C650F><br>
;; KPAX 20070420T075517 INFO Server running<br>#<MOD-LISP-SERVER :RUNNING 21F866D3><br>;; KPAX 20070420T075535 INFO handling <a href="http://localhost/kpax/dynamic/">http://localhost/kpax/dynamic/</a><br>welcome<br>
;; KPAX 20070420T075535 INFO created new session QKSC2M51NB9J<br>[3498165205728447943]<br>;; KPAX 20070420T075535 INFO replied 4606 bytes with status OK<br>;; KPAX 20070420T075539 INFO handling <a href="http://localhost/kpax/dynamic/">
http://localhost/kpax/dynamic/</a><br>helloworld1/<br>;; KPAX 20070420T075539 INFO created new session QKSC2P5H0W10<br>[3498165212284622628]<br>;; KPAX 20070420T075539 INFO replied 550 bytes with status OK<br>;; KPAX 20070420T075603 INFO handling
<a href="http://localhost/kpax/dynamic/">http://localhost/kpax/dynamic/</a><br>calculator/<br>;; KPAX 20070420T075603 INFO created new session QKSC2QOPC2OU<br>[3498165215624221086]<br>;; KPAX 20070420T075603 INFO replied 319 bytes with status MOVED
<br>;; KPAX 20070420T075603 INFO handling <a href="http://localhost/kpax/dynamic/">http://localhost/kpax/dynamic/</a><br>calculator/KPAX1.QKSC2QOPC2OU.0/<br>;; KPAX 20070420T075603 INFO replied 2043 bytes with status OK<br>
;; KPAX 20070420T075604 INFO handling <a href="http://localhost/kpax/dynamic/">http://localhost/kpax/dynamic/</a><br>calculator/KPAX1.QKSC2QOPC2OU.1/calculator-hit-key?key=2<br>;; KPAX 20070420T075604 INFO replied 2043 bytes with status OK
<br>;; KPAX 20070420T075605 INFO handling <a href="http://localhost/kpax/dynamic/">http://localhost/kpax/dynamic/</a><br>calculator/KPAX1.QKSC2QOPC2OU.2/calculator-hit-key?key=%2B<br>;; KPAX 20070420T075605 INFO replied 2043 bytes with status OK
<br>;; KPAX 20070420T075606 INFO handling <a href="http://localhost/kpax/dynamic/">http://localhost/kpax/dynamic/</a><br>calculator/KPAX1.QKSC2QOPC2OU.3/calculator-hit-key?key=9<br>;; KPAX 20070420T075606 INFO replied 2043 bytes with status OK
<br>;; KPAX 20070420T075607 INFO handling <a href="http://localhost/kpax/dynamic/">http://localhost/kpax/dynamic/</a><br>calculator/KPAX1.QKSC2QOPC2OU.4/calculator-hit-key?key=%3D<br>;; KPAX 20070420T075607 INFO replied 2044 bytes with status OK
<br>;; KPAX 20070420T075612 INFO handling <a href="http://localhost/kpax/dynamic/">http://localhost/kpax/dynamic/</a><br>welcome<br>;; KPAX 20070420T075612 INFO replied 4606 bytes with status OK<br><br>The relevant access_log tail:
<br><br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:55:36 +0200] "GET /kpax/dynamic/welcome<br>HTTP/1.1" 200 4606<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:55:36 +0200] "GET /kpax/static/nx.css
<br>HTTP/1.1" 200 9421<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:55:36 +0200] "GET /favicon.ico HTTP/<br>1.1" 404 297<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:55:39 +0200] "GET /kpax/dynamic/
<br>helloworld1/ HTTP/1.1" 200 550<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:55:39 +0200] "GET /favicon.ico HTTP/<br>1.1" 404 297<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:55:39 +0200] "GET /kpax/static/
<br>helloworld1/kpax-movie-poster.jpg HTTP/1.1" 200 25982<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/dynamic/<br>calculator/ HTTP/1.1" 301 319<br><a href="http://127.0.0.1">
127.0.0.1</a> - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/dynamic/<br>calculator/KPAX1.QKSC2QOPC2OU.0/ HTTP/1.1" 200 2043<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:03 +0200] "GET /favicon.ico HTTP/
<br>1.1" 404 297<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/static/<br>calculator/calculator.css HTTP/1.1" 200 858<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:04 +0200] "GET /kpax/dynamic/
<br>calculator/KPAX1.QKSC2QOPC2OU.1/calculator-hit-key?key=2 HTTP/1.1"<br>200 2043<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:04 +0200] "GET /favicon.ico HTTP/<br>1.1" 404 297<br><a href="http://127.0.0.1">
127.0.0.1</a> - - [20/Apr/2007:09:56:05 +0200] "GET /kpax/dynamic/<br>calculator/KPAX1.QKSC2QOPC2OU.2/calculator-hit-key?key=%2B HTTP/1.1"<br>200 2043<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:05 +0200] "GET /favicon.ico HTTP/
<br>1.1" 404 297<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:06 +0200] "GET /kpax/dynamic/<br>calculator/KPAX1.QKSC2QOPC2OU.3/calculator-hit-key?key=9 HTTP/1.1"<br>200 2043<br><a href="http://127.0.0.1">
127.0.0.1</a> - - [20/Apr/2007:09:56:06 +0200] "GET /favicon.ico HTTP/<br>1.1" 404 297<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:07 +0200] "GET /kpax/dynamic/<br>calculator/KPAX1.QKSC2QOPC2OU.4/calculator-hit-key?key=%3D HTTP/1.1"
<br>200 2044<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:07 +0200] "GET /favicon.ico HTTP/<br>1.1" 404 297<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:12 +0200] "GET /kpax/dynamic/welcome
<br>HTTP/1.1" 200 4606<br><a href="http://127.0.0.1">127.0.0.1</a> - - [20/Apr/2007:09:56:12 +0200] "GET /favicon.ico HTTP/<br>1.1" 404 297<br><br>Nothing relevant in the error_log<br><br>HTH,<br><br>Sven<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>I would never die for my beliefs because I might be wrong.<br><br>Bertrand Russell