summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-07-15 18:19:10 +0000
committerJan Kneschke <jan@kneschke.de>2005-07-15 18:19:10 +0000
commit0e371ca506c3e122cbd8450780413ca67dfe97cc (patch)
tree9a5cd6d19e427407c640cfbc6ef7d6ef69807c40 /doc
parent2fee66554b5b7542326da6ac48a9442445205900 (diff)
downloadlighttpd-git-0e371ca506c3e122cbd8450780413ca67dfe97cc.tar.gz
added examples
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@458 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc')
-rw-r--r--doc/cml.txt12
-rw-r--r--doc/lighttpd.conf14
2 files changed, 26 insertions, 0 deletions
diff --git a/doc/cml.txt b/doc/cml.txt
index 4ae38934..45519bd1 100644
--- a/doc/cml.txt
+++ b/doc/cml.txt
@@ -156,6 +156,18 @@ The index.cml for this looks like: ::
Now we get about 10000 req/s instead of 600 req/s.
+Installation
+============
+
+You need `lua <http://www.lua.org/>`_ and should install `<libmemcache-1.3.x http://people.freebsd.org/~seanc/libmemcache/>`
+and have to configure lighttpd with: ::
+
+ ./configure ... --with-lua --with-memcache
+
+To use the plugin you have to load it: ::
+
+ server.modules = ( ..., "mod_cml", ... )
+
Options
=======
diff --git a/doc/lighttpd.conf b/doc/lighttpd.conf
index d34c7371..5c41bed5 100644
--- a/doc/lighttpd.conf
+++ b/doc/lighttpd.conf
@@ -16,6 +16,8 @@ server.modules = (
# "mod_redirect",
# "mod_alias",
"mod_access",
+# "mod_cml",
+# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
@@ -265,3 +267,15 @@ url.access-deny = ( "~", ".inc" )
#setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
#setenv.add-response-header = ( "X-Secret-Message" => "42" )
+## for mod_trigger_b4_dl
+# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db"
+# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
+# trigger-before-download.trigger-url = "^/trigger/"
+# trigger-before-download.download-url = "^/download/"
+# trigger-before-download.deny-url = "http://127.0.0.1/index.html"
+# trigger-before-download.trigger-timeout = 10
+
+## for mod_cml
+## don't forget to add index.cml to server.indexfiles
+# cml.extension = ".cml"
+# cml.memcache-hosts = ( "127.0.0.1:11211" )