summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_lisp/files/apache.conf')
-rw-r--r--www-apache/mod_lisp/files/apache.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/www-apache/mod_lisp/files/apache.conf b/www-apache/mod_lisp/files/apache.conf
new file mode 100644
index 000000000000..5ec8f6e452f1
--- /dev/null
+++ b/www-apache/mod_lisp/files/apache.conf
@@ -0,0 +1,24 @@
+
+# This is an example configuration to get you started.
+
+<IfDefine MODLISP>
+ LoadModule lisp_module extramodules/mod_lisp.so
+</IfDefine>
+
+<IfModule mod_lisp.c>
+ LispServer 127.0.0.1 3000 "server1"
+ AddHandler lisp-handler .lsp
+</IfModule>
+
+# In the Common Lisp implementation, the initialization code
+# corresponding to the above would be:
+#
+# (require :modlisp)
+# (ml:modlisp-start :port 3000)
+#
+# Example requests:
+#
+# http://localhost/debug.lsp
+# http://localhost/fixed.lsp
+
+# Matthew Kennedy <mkennedy@gentoo.org>