From: Elan Ruusamäe Date: Mon, 17 Jul 2006 12:45:54 +0000 (+0000) Subject: - ideas from debian X-Git-Tag: DEVLE~12 X-Git-Url: http://git.pld-linux.org/?p=packages%2Flighttpd.git;a=commitdiff_plain;h=eb4dcf0ffe2ffe535ef22c603d701a1efc50c43a - ideas from debian Changed files: lighttpd-mod_cml.conf -> 1.3 --- diff --git a/lighttpd-mod_cml.conf b/lighttpd-mod_cml.conf index 3a3baea..b7976b2 100644 --- a/lighttpd-mod_cml.conf +++ b/lighttpd-mod_cml.conf @@ -1,9 +1,21 @@ +## CML is a Meta language to describe the dependencies of a page +## at one side and building a page from its fragments on the +## other side using LUA. +## +## Documentation: http://www.lighttpd.net/documentation/cml.html + server.modules += ( "mod_cml" ) -## for mod_cml -## don't forget to add index.cml to server.indexfiles -# cml.extension = ".cml" -# cml.memcache-hosts = ( "127.0.0.1:11211" ) +## the extension for file with cache information. With .cml, +## the cache info file for index.html is index.cml +cml.extension = ".cml" + +index-file.names += ( "index" + cml.extension ) + +## the memcached used by mod_cml +#cml.memcache-hosts = ( "127.0.0.1:11211" ) +## a cml file that is executed for each request +#cml.power-magnet = "/home/services/lighttpd/html/power-magnet.cml"