Bug #1182
closedmod_flv_streaming does not work with mod_alias
Description
It seems mod_flv_streaming does not work when the requested file is resolved through an alias. Lighttpd still serves the file, but it serves the complete file, and not a partial file, which is expected when providing the start URL parameter. Here is a non-working configuration:
var.APP_PATH = CWD
var.media_dir = APP_PATH + "/../media/"
var.error_file = APP_PATH + "/error.log"
server.document-root = APP_PATH
server.errorlog = error_file
server.port = 3000
server.modules = (
"mod_flv_streaming",
"mod_rewrite",
"mod_alias"
)
flv-streaming.extensions = ( ".flv" )
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png"
)
index-file.names = ( "index.html" )
alias.url = ( "/media/" => media_dir )
If the physical media directory is moved within the document-root and alias.url line is removed, FLV streaming works as expected.
-- matt
Updated by Anonymous about 17 years ago
Apparently, mod_flv_streaming does not work also when file is resolved through mod_userdir.
Moving the file somewhere under document-root as suggested above solved the problem (no need to disable mod_alias or mod_userdir).
-- riccardo.murri
Updated by Anonymous about 17 years ago
Sorry, it appears that the mod_flv_streaming and mod_userdir bad interaction is just a matter of the order in which modules are loaded: if mod_userdir comes before mod_flv_streaming in the server.modules list, then everything works as expected (on 1.4.15)
-- riccardo.murri
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Assignee deleted (
jan) - Missing in 1.5.x set to Yes
Also available in: Atom