Lighttpd

Table of Contents

Compilation

CentOS

Setup the build environment the same way as for Nginx.

Download the Lightpd webserver module and unpack the tarball:

#!/bin/bash

tar -zxvf lighttpd_mod_smooth_streaming-1.9.6.tar.gz

Run configure in the Lighttpd directory followed by make and make install:

#!/bin/bash

cd ~/lighttpd-1.x.y
./configure
make
sudo make install

Ubuntu

Setup the build environment the same way as for Nginx.

The Lighttpd weberver is built the same way as on CentOS.

Configuration

Edit the configuration file, /etc/lighttpd/lighttpd.conf, so that file requests ending in '.ism' are handled by the module:

server.modules = (
  ...,
  "mod_smooth_streaming",
  ...
)
smooth-streaming.extensions = ( ".ism" )

Make sure that DAEMON in your startup script, /etc/init.d/lighttpd, is set to point to the locally build version.

DAEMON=/usr/local/sbin/lighttpd

Attention

Please install your License Key Information now, otherwise streaming will not work!

Start lighttpd:

sudo /etc/init.d/lighttpd start

After restarting your web server, you can continue with Verify Your Setup.

Options

Option Description
smooth-streaming.usp_license_key Server directive, which is placed in lighttpd.conf.
smooth-streaming.extensions The file extensions the module handles (see above).