mod_cache always ignore flv streaming

45 views
Skip to first unread message

TubaFTC

unread,
Nov 26, 2010, 1:26:40 PM11/26/10
to mod_cache
Hi,

Please I need help.

I have installed these below two versions in my linux server (Red Hat)
to evaluate the lighttpd server and I'm using mod_flv_streaming and
mod_cache.

* 1.4.26: http://lighttpd-improved.googlecode.com/files/lighttpd-1.4.26.modcache.v.1.8.3-2.tar.gz
* 1.5.0.r2533: http://lighttpd-improved.googlecode.com/files/lighttpd-1.5.0.r2533.modcache.v.1.8.2-2.tar.gz

But I'm facing a problem linked with mod_cache. Every time that I
start any flv video using JW Player to test the mod_cache I got the
following message in the log file saying mod_cache has ignored flv
streaming see below:

2010-11-26 12:46:51 (mod_cache.c:1990) -- mod_cache_uri_handler
called
2010-11-26 12:46:51 (mod_cache.c:2093) PCRE URI /kmedia/Dabangg chori
kiya re jiya.flv matched with rule # 0
2010-11-26 12:46:51 (mod_cache.c:2260) ignore flv streaming /kmedia/
Dabangg%20chori%20kiya%20re%20jiya.flv?start=0


This kind of problem happens in both versions of lighttpd server
1.4.26 and 1.5.0.r2533
In my understanding it seems mod_cache is not caching the files.
If I'm correct then I would like know what would be the reason and if
anyone could help me please.

Below I'm sending some lines of my lighttpd.conf

***********************************
LIGHTTPD.CONF******************************************
## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# "mod_rewrite",
# "mod_redirect",
# "mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
"mod_status",
# "mod_setenv",
# "mod_fastcgi",
"mod_flv_streaming",
"mod_cache",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
# "mod_userdir",
# "mod_cgi",
# "mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_secdownload",
# "mod_rrdtool",
"mod_accesslog"
)

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

#MOD_CACHE
cache.bases = ("/home/quickr/lighttpd/data/cache")
cache.support-queries = "enable"
cache.dynamic-mode = "enable"
cache.debug = "enable"
cache.refresh-pattern = (
"\.(?i)(flv)$" => "0 flv-streaming", # flv_streaming for flv files
"\.(?i)(rar|zip|wmv|avi|mp3|ape|rm|mpeg|mpg|wma|asf|rmvb|flv)$" =>
"0 fetchall-for-range-request", # cache media file forever
"." => "120"
)



## enable debugging
debug.log-request-header = "enable"
debug.log-response-header = "enable"
debug.log-request-handling = "enable"
debug.log-file-not-found = "enable"


#HTTP Keep-Alive
server.event-handler = "linux-sysepoll"
server.max-fds = 16384 # set max open fd limit to 16k
server.max-keep-alive-idle = 0 #don’t use keep-alive
server.max-read-idle = 30 # smaller read timeout
server.max-write-idle = 180 # smaller write timeout

#
status.statistics-url = "/cache_status"
***********************************
LIGHTTPD.CONF******************************************

Thank you so much.
Reply all
Reply to author
Forward
0 new messages