From philogb at gmail.com Wed Apr 18 06:17:42 2007 From: philogb at gmail.com (Nico Garcia Belmonte) Date: Wed, 18 Apr 2007 03:17:42 -0300 Subject: [kpax-devel] kpax and mod_lisp Message-ID: <4e2f5dc00704172317j427b30b7s4a188a4091b7dd2d@mail.gmail.com> hi, I've just finished making a web-app in KPAX using the standalone server and it works well. I have apache2 and mod_lisp2 installed (I "apt-get install libapache-mod-lisp" it). I also have SBCL and KPAX installed in /usr/lib/sbcl/site/kpax My apache server has it's DocumentRoot at /var/www I read a previous post on how to use KPAX and mod_lisp but I still can't make it work. My kpax.conf file has: ----------------------------------------------- LispServer 127.0.0.1 2001 "kpax" SetHandler lisp-handler Alias /kpax/static/ "/var/www/site/static/" Options FollowSymLinks AllowOverride None Order allow,deny Allow from all ---------------------------------------------------- after starting apache I run SBCL and type (asdf:operate 'asdf:load-op :kpax) (asdf:operate 'asdf:load-op :clsql) (in-package :kpax-user) (start-kpax) ---------------------------------------------------- and it seems to be working fine (I get "<#MOD-LISP-SERVER :RUNNING {...}>") Nevertheless, I can't access neither the web app I made, nor any other web-app such as helloworld1. when I try to access http:/localhost/kpax/dynamic/helloworld1 I get a message in my error.log: [error] (70007)The timeout specified has expired: error reading from Lisp could somebody help me PLEASE? Thnx -- I would never die for my beliefs because I might be wrong. Bertrand Russell -------------- next part -------------- An HTML attachment was scrubbed... URL: From scaekenberghe at common-lisp.net Wed Apr 18 10:20:24 2007 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Wed, 18 Apr 2007 12:20:24 +0200 Subject: [kpax-devel] kpax and mod_lisp In-Reply-To: <4e2f5dc00704172317j427b30b7s4a188a4091b7dd2d@mail.gmail.com> References: <4e2f5dc00704172317j427b30b7s4a188a4091b7dd2d@mail.gmail.com> Message-ID: <971F80ED-8A13-487C-AF79-BAC4A2B1080E@common-lisp.net> On 18 Apr 2007, at 08:17, Nico Garcia Belmonte wrote: > hi, > I've just finished making a web-app in KPAX using the standalone > server and it works well. > > I have apache2 and mod_lisp2 installed (I "apt-get install > libapache-mod-lisp" it). > > I also have SBCL and KPAX installed in /usr/lib/sbcl/site/kpax > > My apache server has it's DocumentRoot at /var/www > > I read a previous post on how to use KPAX and mod_lisp but I still > can't make it work. > > My kpax.conf file has: > ----------------------------------------------- > LispServer 127.0.0.1 2001 "kpax" > > > SetHandler lisp-handler > > > Alias /kpax/static/ "/var/www/site/static/" > > > Options FollowSymLinks > AllowOverride None > Order allow,deny > Allow from all > > ---------------------------------------------------- > after starting apache I run SBCL and type > (asdf:operate 'asdf:load-op :kpax) > (asdf:operate 'asdf:load-op :clsql) > (in-package :kpax-user) > (start-kpax) > ---------------------------------------------------- > > and it seems to be working fine > (I get "<#MOD-LISP-SERVER :RUNNING {...}>") > > Nevertheless, I can't access neither the web app I made, nor any > other web-app such as helloworld1. > when I try to access http:/localhost/kpax/dynamic/helloworld1 I get > a message in my error.log: > [error] (70007)The timeout specified has expired: error reading > from Lisp > > could somebody help me PLEASE? > > Thnx Nico, We haven't been using the mod_lisp construction for a long time, but it should still work. A recent change to #'START-KPAX switched the default argument for :server-class from 'mod-lisp-server to 's-http- server (see previous sentence, sorry for the inconvenience). That could be your problem (if you are tracking the darcs repo), but you do get a mod-lisp-server instance. You could also do the following: - do a describe of the mod-lisp-server instance so that we can look inside it (do the ports match ?) - check all apache log files (error and access) - can you see/inspect/debug anything on the lisp side ? - telnet manually to lispworks and talk the mod_lisp protocol - check your firewall settings (you are running both servers on the same host ?) It will probably be a very simple configuration fault, but these things tend to be hard to find... Sven From philogb at gmail.com Wed Apr 18 14:55:05 2007 From: philogb at gmail.com (Nico Garcia Belmonte) Date: Wed, 18 Apr 2007 11:55:05 -0300 Subject: [kpax-devel] kpax and mod_lisp In-Reply-To: <971F80ED-8A13-487C-AF79-BAC4A2B1080E@common-lisp.net> References: <4e2f5dc00704172317j427b30b7s4a188a4091b7dd2d@mail.gmail.com> <971F80ED-8A13-487C-AF79-BAC4A2B1080E@common-lisp.net> Message-ID: <4e2f5dc00704180755g6c244ca7h85a49da1876a1252@mail.gmail.com> On 4/18/07, Sven Van Caekenberghe wrote: > > > Nico, > > We haven't been using the mod_lisp construction for a long time, What were you using instead? but > it should still work. A recent change to #'START-KPAX switched the > default argument for :server-class from 'mod-lisp-server to 's-http- > server (see previous sentence, sorry for the inconvenience). That > could be your problem (if you are tracking the darcs repo), but you > do get a mod-lisp-server instance. > > You could also do the following: > - do a describe of the mod-lisp-server instance so that we can look > inside it (do the ports match ?) When I run describe on *web-app-server* I get: is an instance of class #. The following slots have :INSTANCE allocation: CUTOFF 200 LOGGER-LOCK #S(SB-THREAD:MUTEX :NAME "logger" :VALUE NIL) APPENDERS (# #) LAST-FLUSHED-TIMESTAMP 3385895330 ATTRIBUTES NIL SESSIONS # SESSION-LIFETIME 3600 SESSIONS-LAST-REAPED 3385895330 SESSION-ID-SEED 2575558109 SESSION-LOCK #S(SB-THREAD:MUTEX :NAME "session-manager" :VALUE NIL) DYNAMIC-PREFIX "/kpax/dynamic/" STATIC-PREFIX "/kpax/static/" HOSTNAME "localhost" SERVER-ID "KPAX1" DISPATCHER # DEBUG-MODE T STREAM-APPENDER # DEBUG-STREAM-APPENDER # STATE :RUNNING KEEP-ALIVE T SERVER-PROCESS (("mod-lisp server port 2001" # #)) CLIENT-PROCESSES NIL - check all apache log files (error and access) Apache access.log file only shows: 127.0.0.1 - - [18/Apr/2007:03:42:19 -0300] "GET /kpax/dynamic/helloworld1 HTTP/1 .1" 500 667 "-" "Opera/9.10 (X11; Linux i686; U; en)" (no response) - can you see/inspect/debug anything on the lisp side ? > - telnet manually to lispworks and talk the mod_lisp protocol I dont have lispWorks. (Maybe trying localhost:2001)? - check your firewall settings (you are running both servers on the > same host ?) I have actually both servers on the same host. It will probably be a very simple configuration fault, but these > things tend to be hard to find... > > Sven > > > > > -- I would never die for my beliefs because I might be wrong. Bertrand Russell -------------- next part -------------- An HTML attachment was scrubbed... URL: From scaekenberghe at common-lisp.net Fri Apr 20 08:20:56 2007 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Fri, 20 Apr 2007 10:20:56 +0200 Subject: [kpax-devel] kpax and mod_lisp In-Reply-To: <4e2f5dc00704180755g6c244ca7h85a49da1876a1252@mail.gmail.com> References: <4e2f5dc00704172317j427b30b7s4a188a4091b7dd2d@mail.gmail.com> <971F80ED-8A13-487C-AF79-BAC4A2B1080E@common-lisp.net> <4e2f5dc00704180755g6c244ca7h85a49da1876a1252@mail.gmail.com> Message-ID: <5E996822-F089-420A-82B7-9946B54EE413@common-lisp.net> On 18 Apr 2007, at 16:55, Nico Garcia Belmonte wrote: > What were you using instead? Nico, At first, the S-HTTP-SERVER (and S-HTTPS-SERVER) code and option to KPAX was meant as a hack and standalone development tool. This code evolved and gradually became our preferred deployment option. See for example the Live KPAX Examples at http://kpax.wolf359.be The HTTPS option is only available for LispWorks though. If you do not completely trust S-HTTP-SERVER, you could protect it by putting Apache in front of it as a proxy (optionally rewriting some URL's). This is also your only option to add HTTPS if you do not have LispWorks. We have both of these scenarios in production. HTH, Sven From scaekenberghe at common-lisp.net Fri Apr 20 08:35:59 2007 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Fri, 20 Apr 2007 10:35:59 +0200 Subject: [kpax-devel] kpax and mod_lisp In-Reply-To: <4e2f5dc00704180755g6c244ca7h85a49da1876a1252@mail.gmail.com> References: <4e2f5dc00704172317j427b30b7s4a188a4091b7dd2d@mail.gmail.com> <971F80ED-8A13-487C-AF79-BAC4A2B1080E@common-lisp.net> <4e2f5dc00704180755g6c244ca7h85a49da1876a1252@mail.gmail.com> Message-ID: <85793978-76E6-42B7-8188-A7A0B3A68C58@common-lisp.net> Nico, I just configured my machine (MacBook Pro, Mac OS X 10.4.9) 'from scratch' to run KPAX under Apache+mod_lisp and it worked as described in my older posting to this list (Feb 4 2006). Here are some transcripts: $ httpd -v Server version: Apache/1.3.33 (Darwin) Server built: Aug 19 2006 07:55:18 [sven at voyager:~/apps/mod_lisp]$ head mod_lisp.c #define MOD_LISP_VERSION "2.43" #define HEADER_STR_LEN 500 /* Version 2.43 fixed possible memory leak when the connection to the Lisp process fails (Alain Picard) Set r->mtime directly (Edi Weitz) Version 2.42 Added "Lisp-Content-Length" header [sven at voyager:~/apps/mod_lisp]$ sudo apxs -i -c mod_lisp.c Password: gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os - pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/ httpd -c mod_lisp.c In file included from /usr/include/httpd/ap_config.h:1129, from /usr/include/httpd/httpd.h:29, from mod_lisp.c:182: /usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" redefined In file included from /usr/include/httpd/httpd.h:29, from mod_lisp.c:182: /usr/include/httpd/ap_config.h:1025:1: warning: this is the location of the previous definition cc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -o mod_lisp.so mod_lisp.o cp mod_lisp.so /usr/libexec/httpd/mod_lisp.so chmod 755 /usr/libexec/httpd/mod_lisp.so [sven at voyager:/etc/httpd]$ grep -A 3 SVC httpd.conf # Addition: SVC LoadModule lisp_module libexec/httpd/mod_lisp.so # Reconstruction of the complete module list from all available modules -- # Addition: SVC AddModule mod_lisp.c # -- # Addition: SVC Include /private/etc/httpd/kpax.conf [sven at voyager:/etc/httpd]$ cat kpax.conf LispServer 127.0.0.1 2001 "kpax" SetHandler lisp-handler Alias /kpax/static/gpsbuddy/ "/Users/sven/svn/gpsbuddy-web/trunk/lisp/ rsrc/static-html/" Alias /kpax/static/ "/Users/sven/darcs/kpax/example/static/" [sven at voyager:/etc/httpd]$ sudo apachectl configtest Processing config directory: /private/etc/httpd/users/*.conf Processing config file: /private/etc/httpd/users/sven.conf Syntax OK [sven at voyager:/etc/httpd]$ sudo apachectl restart /usr/sbin/apachectl restart: httpd restarted And now in LispWorks: KPAX-USER 90 > (start-kpax :server-class 'mod-lisp-server) ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Stopped # ;; KPAX 20070420T075517 INFO Started # ;; KPAX 20070420T075517 INFO Server running # ;; KPAX 20070420T075535 INFO handling http://localhost/kpax/dynamic/ welcome ;; KPAX 20070420T075535 INFO created new session QKSC2M51NB9J [3498165205728447943] ;; KPAX 20070420T075535 INFO replied 4606 bytes with status OK ;; KPAX 20070420T075539 INFO handling http://localhost/kpax/dynamic/ helloworld1/ ;; KPAX 20070420T075539 INFO created new session QKSC2P5H0W10 [3498165212284622628] ;; KPAX 20070420T075539 INFO replied 550 bytes with status OK ;; KPAX 20070420T075603 INFO handling http://localhost/kpax/dynamic/ calculator/ ;; KPAX 20070420T075603 INFO created new session QKSC2QOPC2OU [3498165215624221086] ;; KPAX 20070420T075603 INFO replied 319 bytes with status MOVED ;; KPAX 20070420T075603 INFO handling http://localhost/kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.0/ ;; KPAX 20070420T075603 INFO replied 2043 bytes with status OK ;; KPAX 20070420T075604 INFO handling http://localhost/kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.1/calculator-hit-key?key=2 ;; KPAX 20070420T075604 INFO replied 2043 bytes with status OK ;; KPAX 20070420T075605 INFO handling http://localhost/kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.2/calculator-hit-key?key=%2B ;; KPAX 20070420T075605 INFO replied 2043 bytes with status OK ;; KPAX 20070420T075606 INFO handling http://localhost/kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.3/calculator-hit-key?key=9 ;; KPAX 20070420T075606 INFO replied 2043 bytes with status OK ;; KPAX 20070420T075607 INFO handling http://localhost/kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.4/calculator-hit-key?key=%3D ;; KPAX 20070420T075607 INFO replied 2044 bytes with status OK ;; KPAX 20070420T075612 INFO handling http://localhost/kpax/dynamic/ welcome ;; KPAX 20070420T075612 INFO replied 4606 bytes with status OK The relevant access_log tail: 127.0.0.1 - - [20/Apr/2007:09:55:36 +0200] "GET /kpax/dynamic/welcome HTTP/1.1" 200 4606 127.0.0.1 - - [20/Apr/2007:09:55:36 +0200] "GET /kpax/static/nx.css HTTP/1.1" 200 9421 127.0.0.1 - - [20/Apr/2007:09:55:36 +0200] "GET /favicon.ico HTTP/ 1.1" 404 297 127.0.0.1 - - [20/Apr/2007:09:55:39 +0200] "GET /kpax/dynamic/ helloworld1/ HTTP/1.1" 200 550 127.0.0.1 - - [20/Apr/2007:09:55:39 +0200] "GET /favicon.ico HTTP/ 1.1" 404 297 127.0.0.1 - - [20/Apr/2007:09:55:39 +0200] "GET /kpax/static/ helloworld1/kpax-movie-poster.jpg HTTP/1.1" 200 25982 127.0.0.1 - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/dynamic/ calculator/ HTTP/1.1" 301 319 127.0.0.1 - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.0/ HTTP/1.1" 200 2043 127.0.0.1 - - [20/Apr/2007:09:56:03 +0200] "GET /favicon.ico HTTP/ 1.1" 404 297 127.0.0.1 - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/static/ calculator/calculator.css HTTP/1.1" 200 858 127.0.0.1 - - [20/Apr/2007:09:56:04 +0200] "GET /kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.1/calculator-hit-key?key=2 HTTP/1.1" 200 2043 127.0.0.1 - - [20/Apr/2007:09:56:04 +0200] "GET /favicon.ico HTTP/ 1.1" 404 297 127.0.0.1 - - [20/Apr/2007:09:56:05 +0200] "GET /kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.2/calculator-hit-key?key=%2B HTTP/1.1" 200 2043 127.0.0.1 - - [20/Apr/2007:09:56:05 +0200] "GET /favicon.ico HTTP/ 1.1" 404 297 127.0.0.1 - - [20/Apr/2007:09:56:06 +0200] "GET /kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.3/calculator-hit-key?key=9 HTTP/1.1" 200 2043 127.0.0.1 - - [20/Apr/2007:09:56:06 +0200] "GET /favicon.ico HTTP/ 1.1" 404 297 127.0.0.1 - - [20/Apr/2007:09:56:07 +0200] "GET /kpax/dynamic/ calculator/KPAX1.QKSC2QOPC2OU.4/calculator-hit-key?key=%3D HTTP/1.1" 200 2044 127.0.0.1 - - [20/Apr/2007:09:56:07 +0200] "GET /favicon.ico HTTP/ 1.1" 404 297 127.0.0.1 - - [20/Apr/2007:09:56:12 +0200] "GET /kpax/dynamic/welcome HTTP/1.1" 200 4606 127.0.0.1 - - [20/Apr/2007:09:56:12 +0200] "GET /favicon.ico HTTP/ 1.1" 404 297 Nothing relevant in the error_log HTH, Sven From scaekenberghe at common-lisp.net Fri Apr 20 09:16:26 2007 From: scaekenberghe at common-lisp.net (Sven Van Caekenberghe) Date: Fri, 20 Apr 2007 11:16:26 +0200 Subject: [kpax-devel] kpax on windows + Lisp in a box In-Reply-To: <83fc46700702190544w58a345e8vd9f97b9c4cf4f597@mail.gmail.com> References: <83fc46700702190544w58a345e8vd9f97b9c4cf4f597@mail.gmail.com> Message-ID: <12AB1E22-30C9-4BE2-A80A-C64978A883E2@common-lisp.net> Eyal, On 19 Feb 2007, at 14:44, Eyal Raab wrote: > Hi, > > Hi, I'm new to lisp and I'm trying to do the following: > I'm trying to install kpax on windows using lisp in a box with > CLisp 2.33 ( the installer from the website ). > > Is it possible? > > If it is, can someone help me with the following error message: > > "Starting a standard socket named "s-http-server" on port 2001 > using handler # S-HTTP-SERVER::CONNECTION-HANDLER> not yet ported to this lisp > system > [Condition of type SIMPLE-ERROR]" > > The code that currently generated this error is: > > (load "c:/progra~1/LispBox/asdf.lisp") > (load "c:/progra~1/LispBox/packages/s-utils/s-utils.asd ") > (load "c:/progra~1/LispBox/packages/s-base64/s-base64.asd") > (load "c:/progra~1/LispBox/packages/s-utils/s-utils.asd") > (load "c:/progra~1/LispBox/packages/s-sysdeps/s-sysdeps.asd") > (load "c:/progra~1/LispBox/packages/cl-who-0.6.3/cl-who.asd") > (load "c:/progra~1/LispBox/packages/kpax/kpax.asd") > (load "c:/progra~1/LispBox/packages/kpax/kpax-core.asd") > (load "c:/progra~1/LispBox/packages/kpax/kpax- s-http-server.asd") > (load "c:/progra~1/LispBox/packages/kpax/kpax-paserve.asd") > (load "c:/progra~1/LispBox/packages/kpax/kpax-mod-lisp.asd") > (load "c:/progra~1/LispBox/packages/kpax/kpax- examples.asd") > (asdf:oos 'asdf:load-op :kpax) > > (asdf:operate 'asdf:load-op :kpax-examples) > (in-package :kpax-user) > (start-kpax :server-class 's-http-server) > (start-web-app :helloworld1) > > Any help would be greatly appreciated. > > Thanks in advance, > Eyal. Sorry for the somewhat late reply! KPAX in principle requires a Common Lisp implementation that supports multi-threading (or multi- processing as it is often called). It is S-SYSDEPS that forms the portability layer over processes and sockets. But since there are so many requests for a CLISP port (and Ruby on Rails is single-threaded as well), I thought it would be a nice hack to make KPAX work on CLISP, is a slightly limited fashion. DISCLAIMER: this is really a hack and absolutely not ready for production (unless you put a load-balancer in front of it and run multiple instances with persistent sessions - in general, if you really know what you are doing). If you upgrade to all the latest versions (preferrably via the darcs repositories), KPAX should work on CLISP out of the box: Last login: Fri Apr 20 09:25:57 on ttyp8 Welcome to Darwin! [sven at voyager:~]$ cd darcs/kpax/ [sven at voyager:~/darcs/kpax]$ clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2006 ;; Loading file /Users/sven/.clisprc.lisp ... ;; Loading file /Users/sven/apps/asdf/init-asdf.lisp ... ;; Loading file /Users/sven/apps/asdf/asdf.fas ... ;; Loaded file /Users/sven/apps/asdf/asdf.fas ;Pushed #P"/Users/sven/apps/asdf/systems/" onto ASDF central registry ;; Loaded file /Users/sven/apps/asdf/init-asdf.lisp ;; Loaded file /Users/sven/.clisprc.lisp [1]> (asdf :kpax-examples) ; loading system definition from /Users/sven/apps/asdf/systems/kpax- examples.asd into # ;; Loading file /Users/sven/apps/asdf/systems/kpax-examples.asd ... ; registering # as KPAX-EXAMPLES ;; Loaded file /Users/sven/apps/asdf/systems/kpax-examples.asd ; loading system definition from /Users/sven/apps/asdf/systems/s-http- client.asd into # ;; Loading file /Users/sven/apps/asdf/systems/s-http-client.asd ... ; registering # as S-HTTP-CLIENT ;; Loaded file /Users/sven/apps/asdf/systems/s-http-client.asd ; loading system definition from /Users/sven/apps/asdf/systems/ puri.asd into # ;; Loading file /Users/sven/apps/asdf/systems/puri.asd ... ; registering # as PURI ; registering # as PURI-TESTS ;; Loaded file /Users/sven/apps/asdf/systems/puri.asd ; loading system definition from /Users/sven/apps/asdf/systems/s- base64.asd into # ;; Loading file /Users/sven/apps/asdf/systems/s-base64.asd ... ; registering # as S-BASE64 ;; Loaded file /Users/sven/apps/asdf/systems/s-base64.asd ; loading system definition from /Users/sven/apps/asdf/systems/s- sysdeps.asd into # ;; Loading file /Users/sven/apps/asdf/systems/s-sysdeps.asd ... ; registering # as S-SYSDEPS ;; Loaded file /Users/sven/apps/asdf/systems/s-sysdeps.asd ; loading system definition from /Users/sven/apps/asdf/systems/s- utils.asd into # ;; Loading file /Users/sven/apps/asdf/systems/s-utils.asd ... ; registering # as S-UTILS ;; Loaded file /Users/sven/apps/asdf/systems/s-utils.asd ; loading system definition from /Users/sven/apps/asdf/systems/ kpax.asd into # ;; Loading file /Users/sven/apps/asdf/systems/kpax.asd ... ; registering # as KPAX ;; Loaded file /Users/sven/apps/asdf/systems/kpax.asd ; loading system definition from /Users/sven/apps/asdf/systems/kpax-s- http-server.asd into # ;; Loading file /Users/sven/apps/asdf/systems/kpax-s-http-server.asd ... ; registering # as KPAX-S-HTTP- SERVER ;; Loaded file /Users/sven/apps/asdf/systems/kpax-s-http-server.asd ; loading system definition from /Users/sven/apps/asdf/systems/s-http- server.asd into # ;; Loading file /Users/sven/apps/asdf/systems/s-http-server.asd ... ; registering # as S-HTTP-SERVER ;; Loaded file /Users/sven/apps/asdf/systems/s-http-server.asd ; loading system definition from /Users/sven/apps/asdf/systems/kpax- core.asd into # ;; Loading file /Users/sven/apps/asdf/systems/kpax-core.asd ... ; registering # as KPAX-CORE ;; Loaded file /Users/sven/apps/asdf/systems/kpax-core.asd ; loading system definition from /Users/sven/apps/asdf/systems/cl- who.asd into # ;; Loading file /Users/sven/apps/asdf/systems/cl-who.asd ... ; registering # as CL-WHO ;; Loaded file /Users/sven/apps/asdf/systems/cl-who.asd ; loading system definition from /Users/sven/apps/asdf/systems/kpax- mod-lisp.asd into # ;; Loading file /Users/sven/apps/asdf/systems/kpax-mod-lisp.asd ... ; registering # as KPAX-MOD-LISP ;; Loaded file /Users/sven/apps/asdf/systems/kpax-mod-lisp.asd ;; Loading file /Users/sven/apps/puri-1.5.1/src.fas ... ;; Loaded file /Users/sven/apps/puri-1.5.1/src.fas ;; Loading file /Users/sven/darcs/s-base64/src/package.fas ... ;; Loaded file /Users/sven/darcs/s-base64/src/package.fas ;; Loading file /Users/sven/darcs/s-base64/src/base64.fas ... ;; Loaded file /Users/sven/darcs/s-base64/src/base64.fas ;; Loading file /Users/sven/darcs/s-sysdeps/src/package.fas ... ;; Loaded file /Users/sven/darcs/s-sysdeps/src/package.fas ;; Loading file /Users/sven/darcs/s-sysdeps/src/bivalent-streams.fas ... ;; Loaded file /Users/sven/darcs/s-sysdeps/src/bivalent-streams.fas ;; Loading file /Users/sven/darcs/s-sysdeps/src/sysdeps.fas ... ;; Loaded file /Users/sven/darcs/s-sysdeps/src/sysdeps.fas ;; Loading file /Users/sven/darcs/s-utils/src/package.fas ... ;; Loaded file /Users/sven/darcs/s-utils/src/package.fas ;; Loading file /Users/sven/darcs/s-utils/src/utils.fas ... ;; Loaded file /Users/sven/darcs/s-utils/src/utils.fas ;; Loading file /Users/sven/darcs/s-http-client/src/package.fas ... ;; Loaded file /Users/sven/darcs/s-http-client/src/package.fas ;; Loading file /Users/sven/darcs/s-http-client/src/http-client.fas ... ;; Loaded file /Users/sven/darcs/s-http-client/src/http-client.fas ;; Loading file /Users/sven/darcs/s-http-server/src/package.fas ... ;; Loaded file /Users/sven/darcs/s-http-server/src/package.fas ;; Loading file /Users/sven/darcs/s-http-server/src/http-server.fas ... ;; Loaded file /Users/sven/darcs/s-http-server/src/http-server.fas ;; Loading file /Users/sven/apps/cl-who/packages.fas ... ;; Loaded file /Users/sven/apps/cl-who/packages.fas ;; Loading file /Users/sven/apps/cl-who/who.fas ... ;; Loaded file /Users/sven/apps/cl-who/who.fas ;; Loading file /Users/sven/darcs/kpax/src/package-kpax.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/package-kpax.fas ;; Loading file /Users/sven/darcs/kpax/src/log.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/log.fas ;; Loading file /Users/sven/darcs/kpax/src/util.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/util.fas ;; Loading file /Users/sven/darcs/kpax/src/localization.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/localization.fas ;; Loading file /Users/sven/darcs/kpax/src/sha1.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/sha1.fas ;; Loading file /Users/sven/darcs/kpax/src/md5.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/md5.fas ;; Loading file /Users/sven/darcs/kpax/src/mersenne-twister- random.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/mersenne-twister-random.fas ;; Loading file /Users/sven/darcs/kpax/src/hmac.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/hmac.fas ;; Loading file /Users/sven/darcs/kpax/src/crypto.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/crypto.fas ;; Loading file /Users/sven/darcs/kpax/src/html-macro.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/html-macro.fas ;; Loading file /Users/sven/darcs/kpax/src/html.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/html.fas ;; Loading file /Users/sven/darcs/kpax/src/globals.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/globals.fas ;; Loading file /Users/sven/darcs/kpax/src/constants.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/constants.fas ;; Loading file /Users/sven/darcs/kpax/src/attributes-mixin.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/attributes-mixin.fas ;; Loading file /Users/sven/darcs/kpax/src/session.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/session.fas ;; Loading file /Users/sven/darcs/kpax/src/server.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/server.fas ;; Loading file /Users/sven/darcs/kpax/src/request-response.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/request-response.fas ;; Loading file /Users/sven/darcs/kpax/src/translator.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/translator.fas ;; Loading file /Users/sven/darcs/kpax/src/web-app-in-server.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/web-app-in-server.fas ;; Loading file /Users/sven/darcs/kpax/src/session-tracking.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/session-tracking.fas ;; Loading file /Users/sven/darcs/kpax/src/web-app.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/web-app.fas ;; Loading file /Users/sven/darcs/kpax/src/dispatcher.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/dispatcher.fas ;; Loading file /Users/sven/darcs/kpax/src/debug.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/debug.fas ;; Loading file /Users/sven/darcs/kpax/src/kpax.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/kpax.fas ;; Loading file /Users/sven/darcs/kpax/src/run.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/run.fas ;; Loading file /Users/sven/darcs/kpax/src/multipart-form- encoding.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/multipart-form-encoding.fas ;; Loading file /Users/sven/darcs/kpax/src/extensions.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/extensions.fas ;; Loading file /Users/sven/darcs/kpax/src/options.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/options.fas ;; Loading file /Users/sven/darcs/kpax/src/constraints.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/constraints.fas ;; Loading file /Users/sven/darcs/kpax/src/menubar.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/menubar.fas ;; Loading file /Users/sven/darcs/kpax/src/data-set-view.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/data-set-view.fas ;; Loading file /Users/sven/darcs/kpax/src/web-form.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/web-form.fas ;; Loading file /Users/sven/darcs/kpax/src/package-kpax-user.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/package-kpax-user.fas ;; Loading file /Users/sven/darcs/kpax/src/s-http-server.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/s-http-server.fas ;; Loading file /Users/sven/darcs/kpax/src/mod-lisp.fas ... ;; Loaded file /Users/sven/darcs/kpax/src/mod-lisp.fas ;; Loading file /Users/sven/darcs/kpax/example/helloworld1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/helloworld1.fas ;; Loading file /Users/sven/darcs/kpax/example/factorial1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/factorial1.fas ;; Loading file /Users/sven/darcs/kpax/example/session1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/session1.fas ;; Loading file /Users/sven/darcs/kpax/example/no-session1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/no-session1.fas ;; Loading file /Users/sven/darcs/kpax/example/snoop1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/snoop1.fas ;; Loading file /Users/sven/darcs/kpax/example/forms1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/forms1.fas ;; Loading file /Users/sven/darcs/kpax/example/forms2.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/forms2.fas ;; Loading file /Users/sven/darcs/kpax/example/benchmark1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/benchmark1.fas ;; Loading file /Users/sven/darcs/kpax/example/todo-list.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/todo-list.fas ;; Loading file /Users/sven/darcs/kpax/example/secure1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/secure1.fas ;; Loading file /Users/sven/darcs/kpax/example/upload1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/upload1.fas ;; Loading file /Users/sven/darcs/kpax/example/upload2.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/upload2.fas ;; Loading file /Users/sven/darcs/kpax/example/upload3.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/upload3.fas ;; Loading file /Users/sven/darcs/kpax/example/calculator.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/calculator.fas ;; Loading file /Users/sven/darcs/kpax/example/list-web-apps.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/list-web-apps.fas ;; Loading file /Users/sven/darcs/kpax/example/menu1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/menu1.fas ;; Loading file /Users/sven/darcs/kpax/example/tabs1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/tabs1.fas ;; Loading file /Users/sven/darcs/kpax/example/browser1.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/browser1.fas ;; Loading file /Users/sven/darcs/kpax/example/secure-login.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/secure-login.fas ;; Loading file /Users/sven/darcs/kpax/example/pi.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/pi.fas ;; Loading file /Users/sven/darcs/kpax/example/lsp.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/lsp.fas ;; Loading file /Users/sven/darcs/kpax/example/wiki.fas ... WARNING: The generic function # is being modified, but has already been called. ;; Loaded file /Users/sven/darcs/kpax/example/wiki.fas ;; Loading file /Users/sven/darcs/kpax/example/reddit.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/reddit.fas ;; Loading file /Users/sven/darcs/kpax/example/welcome.fas ... ;; Loaded file /Users/sven/darcs/kpax/example/welcome.fas 0 errors, 0 warnings NIL [2]> (kpax:start-kpax) ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Stopped # ;; KPAX 20070420T090207 INFO Started # ;; KPAX 20070420T090207 INFO Server running ;; KPAX 20070420T090224 INFO handling /kpax/dynamic/helloworld1/ ;; KPAX 20070420T090224 INFO created new session 11X9DF6ITYLC [138655782621851232] ;; KPAX 20070420T090224 INFO replied 596 bytes with status OK This is CLISP 2.40 on Mac OS X Intel. The limitations are: - KPAX is not-multi-threaded so can handle only 1 request at a time - all HTTP request connections are closed immediately (like in HTTP/ 1.0 or without Keep-Alive) - some of the advanced examples do not work (problems with bivalent streams) - your CLISP listener session blocks since it can do only 1 thing at a time which is bad for debugging and development - any errors on any handler thread stops everything (including the server) since there is only 1 thread Regards, Sven -- Sven Van Caekenberghe - http://homepage.mac.com/svc Beta Nine - software engineering - http://www.beta9.be "Lisp isn't a language, it's a building material." - Alan Kay From philogb at gmail.com Fri Apr 20 17:12:50 2007 From: philogb at gmail.com (Nico Garcia Belmonte) Date: Fri, 20 Apr 2007 14:12:50 -0300 Subject: [kpax-devel] kpax and mod_lisp In-Reply-To: <85793978-76E6-42B7-8188-A7A0B3A68C58@common-lisp.net> References: <4e2f5dc00704172317j427b30b7s4a188a4091b7dd2d@mail.gmail.com> <971F80ED-8A13-487C-AF79-BAC4A2B1080E@common-lisp.net> <4e2f5dc00704180755g6c244ca7h85a49da1876a1252@mail.gmail.com> <85793978-76E6-42B7-8188-A7A0B3A68C58@common-lisp.net> Message-ID: <4e2f5dc00704201012s214a9690ic133818f5189d47d@mail.gmail.com> Thanks Sven, I'll try it out one more time, and if it doesn't work I'll keep with the S-HTTP-SERVER. On 4/20/07, Sven Van Caekenberghe wrote: > > Nico, > > I just configured my machine (MacBook Pro, Mac OS X 10.4.9) 'from > scratch' to run KPAX under Apache+mod_lisp and it worked as described > in my older posting to this list (Feb 4 2006). Here are some > transcripts: > > $ httpd -v > Server version: Apache/1.3.33 (Darwin) > Server built: Aug 19 2006 07:55:18 > > [sven at voyager:~/apps/mod_lisp]$ head mod_lisp.c > #define MOD_LISP_VERSION "2.43" > #define HEADER_STR_LEN 500 > > /* > Version 2.43 > fixed possible memory leak when the connection to the Lisp process > fails (Alain Picard) > Set r->mtime directly (Edi Weitz) > > Version 2.42 > Added "Lisp-Content-Length" header > > [sven at voyager:~/apps/mod_lisp]$ sudo apxs -i -c mod_lisp.c > Password: > gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os - > pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/ > httpd -c mod_lisp.c > In file included from /usr/include/httpd/ap_config.h:1129, > from /usr/include/httpd/httpd.h:29, > from mod_lisp.c:182: > /usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" > redefined > In file included from /usr/include/httpd/httpd.h:29, > from mod_lisp.c:182: > /usr/include/httpd/ap_config.h:1025:1: warning: this is the location > of the previous definition > cc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -o > mod_lisp.so mod_lisp.o > cp mod_lisp.so /usr/libexec/httpd/mod_lisp.so > chmod 755 /usr/libexec/httpd/mod_lisp.so > > [sven at voyager:/etc/httpd]$ grep -A 3 SVC httpd.conf > # Addition: SVC > LoadModule lisp_module libexec/httpd/mod_lisp.so > > # Reconstruction of the complete module list from all available modules > -- > # Addition: SVC > AddModule mod_lisp.c > > # > -- > # Addition: SVC > Include /private/etc/httpd/kpax.conf > > [sven at voyager:/etc/httpd]$ cat kpax.conf > > LispServer 127.0.0.1 2001 "kpax" > > SetHandler lisp-handler > > Alias /kpax/static/gpsbuddy/ "/Users/sven/svn/gpsbuddy-web/trunk/lisp/ > rsrc/static-html/" > Alias /kpax/static/ "/Users/sven/darcs/kpax/example/static/" > > > [sven at voyager:/etc/httpd]$ sudo apachectl configtest > Processing config directory: /private/etc/httpd/users/*.conf > Processing config file: /private/etc/httpd/users/sven.conf > Syntax OK > > [sven at voyager:/etc/httpd]$ sudo apachectl restart > /usr/sbin/apachectl restart: httpd restarted > > And now in LispWorks: > > KPAX-USER 90 > (start-kpax :server-class 'mod-lisp-server) > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Stopped # > ;; KPAX 20070420T075517 INFO Started # > ;; KPAX 20070420T075517 INFO Server running > # > ;; KPAX 20070420T075535 INFO handling http://localhost/kpax/dynamic/ > welcome > ;; KPAX 20070420T075535 INFO created new session QKSC2M51NB9J > [3498165205728447943] > ;; KPAX 20070420T075535 INFO replied 4606 bytes with status OK > ;; KPAX 20070420T075539 INFO handling http://localhost/kpax/dynamic/ > helloworld1/ > ;; KPAX 20070420T075539 INFO created new session QKSC2P5H0W10 > [3498165212284622628] > ;; KPAX 20070420T075539 INFO replied 550 bytes with status OK > ;; KPAX 20070420T075603 INFO handling http://localhost/kpax/dynamic/ > calculator/ > ;; KPAX 20070420T075603 INFO created new session QKSC2QOPC2OU > [3498165215624221086] > ;; KPAX 20070420T075603 INFO replied 319 bytes with status MOVED > ;; KPAX 20070420T075603 INFO handling http://localhost/kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.0/ > ;; KPAX 20070420T075603 INFO replied 2043 bytes with status OK > ;; KPAX 20070420T075604 INFO handling http://localhost/kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.1/calculator-hit-key?key=2 > ;; KPAX 20070420T075604 INFO replied 2043 bytes with status OK > ;; KPAX 20070420T075605 INFO handling http://localhost/kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.2/calculator-hit-key?key=%2B > ;; KPAX 20070420T075605 INFO replied 2043 bytes with status OK > ;; KPAX 20070420T075606 INFO handling http://localhost/kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.3/calculator-hit-key?key=9 > ;; KPAX 20070420T075606 INFO replied 2043 bytes with status OK > ;; KPAX 20070420T075607 INFO handling http://localhost/kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.4/calculator-hit-key?key=%3D > ;; KPAX 20070420T075607 INFO replied 2044 bytes with status OK > ;; KPAX 20070420T075612 INFO handling http://localhost/kpax/dynamic/ > welcome > ;; KPAX 20070420T075612 INFO replied 4606 bytes with status OK > > The relevant access_log tail: > > 127.0.0.1 - - [20/Apr/2007:09:55:36 +0200] "GET /kpax/dynamic/welcome > HTTP/1.1" 200 4606 > 127.0.0.1 - - [20/Apr/2007:09:55:36 +0200] "GET /kpax/static/nx.css > HTTP/1.1" 200 9421 > 127.0.0.1 - - [20/Apr/2007:09:55:36 +0200] "GET /favicon.ico HTTP/ > 1.1" 404 297 > 127.0.0.1 - - [20/Apr/2007:09:55:39 +0200] "GET /kpax/dynamic/ > helloworld1/ HTTP/1.1" 200 550 > 127.0.0.1 - - [20/Apr/2007:09:55:39 +0200] "GET /favicon.ico HTTP/ > 1.1" 404 297 > 127.0.0.1 - - [20/Apr/2007:09:55:39 +0200] "GET /kpax/static/ > helloworld1/kpax-movie-poster.jpg HTTP/1.1" 200 25982 > 127.0.0.1 - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/dynamic/ > calculator/ HTTP/1.1" 301 319 > 127.0.0.1 - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.0/ HTTP/1.1" 200 2043 > 127.0.0.1 - - [20/Apr/2007:09:56:03 +0200] "GET /favicon.ico HTTP/ > 1.1" 404 297 > 127.0.0.1 - - [20/Apr/2007:09:56:03 +0200] "GET /kpax/static/ > calculator/calculator.css HTTP/1.1" 200 858 > 127.0.0.1 - - [20/Apr/2007:09:56:04 +0200] "GET /kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.1/calculator-hit-key?key=2 HTTP/1.1" > 200 2043 > 127.0.0.1 - - [20/Apr/2007:09:56:04 +0200] "GET /favicon.ico HTTP/ > 1.1" 404 297 > 127.0.0.1 - - [20/Apr/2007:09:56:05 +0200] "GET /kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.2/calculator-hit-key?key=%2B HTTP/1.1" > 200 2043 > 127.0.0.1 - - [20/Apr/2007:09:56:05 +0200] "GET /favicon.ico HTTP/ > 1.1" 404 297 > 127.0.0.1 - - [20/Apr/2007:09:56:06 +0200] "GET /kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.3/calculator-hit-key?key=9 HTTP/1.1" > 200 2043 > 127.0.0.1 - - [20/Apr/2007:09:56:06 +0200] "GET /favicon.ico HTTP/ > 1.1" 404 297 > 127.0.0.1 - - [20/Apr/2007:09:56:07 +0200] "GET /kpax/dynamic/ > calculator/KPAX1.QKSC2QOPC2OU.4/calculator-hit-key?key=%3D HTTP/1.1" > 200 2044 > 127.0.0.1 - - [20/Apr/2007:09:56:07 +0200] "GET /favicon.ico HTTP/ > 1.1" 404 297 > 127.0.0.1 - - [20/Apr/2007:09:56:12 +0200] "GET /kpax/dynamic/welcome > HTTP/1.1" 200 4606 > 127.0.0.1 - - [20/Apr/2007:09:56:12 +0200] "GET /favicon.ico HTTP/ > 1.1" 404 297 > > Nothing relevant in the error_log > > HTH, > > Sven > > -- I would never die for my beliefs because I might be wrong. Bertrand Russell -------------- next part -------------- An HTML attachment was scrubbed... URL: From onceuponapriori at gmail.com Thu Apr 19 19:11:52 2007 From: onceuponapriori at gmail.com (Jared Nuzzolillo) Date: Thu, 19 Apr 2007 14:11:52 -0500 Subject: [kpax-devel] kpax on Windows Message-ID: Hello kpaxians. kpax looks beauitful. Is there any way to get kpax to work on windows? Thanks! Jared Nuzzolillo -------------- next part -------------- An HTML attachment was scrubbed... URL: From ps.misc at gmail.com Sun Apr 29 07:08:30 2007 From: ps.misc at gmail.com (B W) Date: Sun, 29 Apr 2007 00:08:30 -0700 Subject: [kpax-devel] Are sessions serializable? Message-ID: <99849f280704290008h3bfa61c2s49e5293d2f1b83be@mail.gmail.com> Hi, I am a newbie. I was wondering if the session objects are serializable to disk or database, so that they can be shared among multiple images. Thanks! Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: