]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd-mod_trigger_b4_dl.conf
up to 1.4.38
[packages/lighttpd.git] / lighttpd-mod_trigger_b4_dl.conf
CommitLineData
a242e9d0
ER
1# A module to prevent deep-linking from other sites.
2#
bce8a1c7 3# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModTriggerBeforeDownload
a242e9d0 4
7d3968ad
ER
5server.modules += (
6 "mod_trigger_b4_dl"
7)
693950e2 8
a242e9d0
ER
9## guarded download URL, direct access is denied
10#trigger-before-download.download-url = "^/download/"
11
12## trigger URL to allow downloads from <download-url>
13#trigger-before-download.trigger-url = "^/trigger/"
14
15## if access to a file is denied, the user is redirected to this URL
16#trigger-before-download.deny-url = "/home/services/lighttpd/html/deny.html"
17
18## access to granted for <timeout> seconds after the trigger
19#trigger-before-download.trigger-timeout = 10
693950e2 20
a242e9d0
ER
21## storage of trigger information. If both destinations are provided,
22## the GDBM file takes precedence.
23#trigger-before-download.gdbm-filename = "/home/services/lighttpd/data/trigger.db"
24#trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
This page took 0.083799 seconds and 4 git commands to generate.