Diff for /elwix/config/etc/default/lighttpd/conf.d/trigger_b4_dl.conf.sample between versions 1.1 and 1.2

version 1.1, 2013/10/14 15:19:38 version 1.2, 2014/01/05 23:14:25
Line 0 Line 1
   #######################################################################
   ##
   ##  Trigger before download 
   ## --------------- 
   ##
   ## - if user requests ''download-url'' directly, the request is denied
   ##   and he is redirected to ''deny-url'
   ## - if user visits ''trigger-url'' before requesting ''download-url'',
   ##   access is granted
   ## - if user visits ''download-url'' again after ''trigger-timeout'' has
   ##   elapsed, the request is denied and he is redirected to ''deny-url''
   ##
   ## http://www.lighttpd.net/documentation/trigger_b4_dl.html
   ##
   server.modules += ( "mod_mod_trigger_b4_dl" )
   
   ##
   ## To store the trigger state you can either use a local GDBM
   ## file or memcached(s). 
   ##
   
   ##
   ## Path to the local GDBM file.
   ##
   trigger-before-download.gdbm-filename = home_dir + "/trigger.db"
   
   ##
   ## List of memcached servers.
   ##
   #trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
   
   ##
   ## URL prefix a visitor has to visit before downloading is allowed 
   ##
   trigger-before-download.trigger-url = "^/trigger/"
   
   ##
   ## URL Prefix of the proteced area.
   ##
   trigger-before-download.download-url = "^/download/"
   
   ##
   ## 
   ## The deny url.
   ##
   trigger-before-download.deny-url = "http://www.example.com/index.html"
   
   ##
   ## How long the "ticket" of the user will be valid.
   ##
   ## Value in seconds.
   ##
   trigger-before-download.trigger-timeout = 10
   
   ##
   ## Normally the memcached key will be the remote ip of the request
   ## If you store other data in the memcached aswell and want to avoid
   ## key collisions you can configure a memcache-namespace.
   ##
   ## The key for the request will be memcache-namespace + remote_ip than.
   ##
   #trigger-before-download.memcache-namespace = "t4bdl_"
   
   ##
   ## If set to 1, the module will log some debug informations.
   ##
   #trigger-before-download.debug = 0
   
   ##
   #######################################################################

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>