mod secdownload

From WebHostingNeeds.com
Jump to: navigation, search
vi /etc/lighttpd/modules.conf
#######################################################################
##
##  Foo Module 
## --------------- 
##
## http://www.lighttpd.net/documentation/Foo.html
##
server.modules += ( "mod_flv_streaming", "mod_secdownload" )

##
## foo
##
#foo.bar = 1

##
#######################################################################

flv-streaming.extensions = (".flv")

# http://trac.lighttpd.net/trac/wiki/Docs%3APerformance#id4
server.max-keep-alive-requests = 4
server.max-keep-alive-idle = 4
#evasive.max-conns-per-ip = 3

secdownload.secret          = "hjAGhAJKAKAHJ89AHJooAM"
secdownload.document-root   = "/home/s1.video.bizhat.com/private/"
secdownload.uri-prefix      = "/dl/"
secdownload.timeout         = 1800

$HTTP["referer"] !~ "^($|.*bizhat.*)" {
    url.access-deny = ( "" )
}



lighttpd