File: README

package info (click to toggle)
libapache-mod-lisp 2.41-0.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 128 kB
  • ctags: 112
  • sloc: ansic: 588; lisp: 493; makefile: 37; sh: 26
file content (66 lines) | stat: -rw-r--r-- 1,795 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
libapache-mod-lisp for Debian 
-----------------------------

Please visit http://www.fractalconcept.com/asp/mod_lisp for more
information.

[Quoting from the above web site]

Configuring Apache with mod_lisp
--------------------------------

In the Apache config file (httpd.conf or apache.conf):

First, add the mod_lisp module (change the path to where you have
put mod_lisp): 
  LoadModule lisp_module /usr/lib/apache/1.3/mod_lisp.so (for unixes) 
  LoadModule lisp_module modules/ApacheModuleLisp.dll (for Win32)

Then add a LispServer directive 

  LispServer ip-address ip-port user-defined-name

 * ip-address is the ip address of the computer where the Lisp process is.  
 * ip-port is the ip port of the computer where the Lisp process is.  
 * user-defined-name is a string that will be passed from Apache to the 
   Lisp process. It is useful when you have several virtual servers or 
   directories, defined within an Apache server, to be processed by mod_lisp.

example: 
  LispServer 127.0.0.1 3000 "fractal"

Finally add a SetHandler directive: 
  <Location /asp> 
    SetHandler lisp-handler 
  </Location> 
  
All of the urls located in /asp (like /asp/index.html) will be sent to 
mod_lisp

[It is highly advised to wrap mod-lisp directives in an IfModule block]

Your httpd.conf should be like this : 
  ...  
  LoadModule lisp_module libexec/apache/mod_lisp.so 
  ...  
  ClearModuleList 
  ...  
  AddModule mod_lisp.c
  ...
  <IfModule mod_lisp.c>
    LispServer  127.0.0.1 3000 "fractal" 
    ...  
    <Location /asp> 
      SetHandler lisp-handler 
    </Location> 
  </IfModule>
  ...

if you use mod_ssl you should put this in your SSL directives: 

  SSLOptions +StdEnvVars 

to have the ssl-session-id sent to the Lisp process

Restart Apache and it should be OK.