Paste number 11613: Apache+mod_lisp ucw conf

Paste number 11613: Apache+mod_lisp ucw conf
Pasted by: pjb
When:19 years, 5 months ago
Share:Tweet this! | http://paste.lisp.org/+8YL
Channel:#lisp
Paste contents:
Raw Source | XML | Display As
Configuration Apache + mod_lisp
-------------------------------

Add these lines to /etc/http/http.conf:

LoadModule lisp_module       /usr/lib/apache/mod_lisp.so
AddModule mod_lisp.c

The add Location paragraphs:
For example, I redirect /app/bellerophon, /app/admin and /app/example to the first server on localhost port 3001,
and /app/domingo on a second server on localhost port 3002:

# UCW configuration:

<Location ~ "/app/(bellerophon|admin|example)">
  LispServer 127.0.0.1 3001 "bellerophon"
  SetHandler lisp-handler
</Location>

<Location "/app/domingo">
  LispServer 127.0.0.1 3002 "domingo"
  SetHandler lisp-handler
</Location>

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.