Ticket #1182 (new defect)
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.

