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 `_ and should install `` +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" )