Project

General

Profile

Bug #1182

mod_flv_streaming does not work with mod_alias

Added by Anonymous over 12 years ago. Updated about 3 years ago.

Status:
Obsolete
Priority:
Normal
Assignee:
-
Category:
mod_flv_streaming
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

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

History

#1

Updated by Anonymous about 12 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

#2

Updated by Anonymous about 12 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

#3

Updated by gstrauss about 3 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes
#4

Updated by gstrauss about 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom