Ticket #1182 (new defect)

Opened 15 months ago

Last modified 12 months ago

mod_flv_streaming does not work with mod_alias

Reported by: matt@… Owned by: jan
Priority: normal Milestone: 1.5.0
Component: mod_flv_streaming Version: 1.4.13
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

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.

Attachments

Change History

Changed 12 months ago by riccardo.murri@…

  • pending unset

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).

Changed 12 months ago by riccardo.murri@…

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)

Add/Change #1182 (mod_flv_streaming does not work with mod_alias)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.