Changeset 458

Show
Ignore:
Timestamp:
07/15/2005 06:19:10 PM (3 years ago)
Author:
jan
Message:

added examples

Location:
branches/lighttpd-1.3.x/doc
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.3.x/doc/cml.txt

    r454 r458  
    157157Now we get about 10000 req/s instead of 600 req/s. 
    158158 
     159Installation 
     160============ 
     161 
     162You need `lua <http://www.lua.org/>`_ and should install `<libmemcache-1.3.x http://people.freebsd.org/~seanc/libmemcache/>`  
     163and have to configure lighttpd with: :: 
     164 
     165  ./configure ... --with-lua --with-memcache 
     166 
     167To use the plugin you have to load it: :: 
     168 
     169   server.modules = ( ..., "mod_cml", ... ) 
     170 
    159171Options 
    160172======= 
  • branches/lighttpd-1.3.x/doc/lighttpd.conf

    r442 r458  
    1717#                               "mod_alias", 
    1818                                "mod_access", 
     19#                               "mod_cml", 
     20#                               "mod_trigger_b4_dl", 
    1921#                               "mod_auth", 
    2022#                               "mod_status", 
     
    266268#setenv.add-response-header = ( "X-Secret-Message" => "42" ) 
    267269 
     270## for mod_trigger_b4_dl 
     271# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db" 
     272# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" ) 
     273# trigger-before-download.trigger-url = "^/trigger/" 
     274# trigger-before-download.download-url = "^/download/" 
     275# trigger-before-download.deny-url = "http://127.0.0.1/index.html" 
     276# trigger-before-download.trigger-timeout = 10 
     277 
     278## for mod_cml 
     279## don't forget to add index.cml to server.indexfiles 
     280# cml.extension               = ".cml" 
     281# cml.memcache-hosts          = ( "127.0.0.1:11211" )