Installation:
==============

Installation requires that you're building from an SVN checkout. The requirements 
are the same of those for lighttpd itself. There unfortunately isn't an easy 
method for adding your own plugins right now, but it's nothing overly complex 
either.

    * Copy mod_bandwidth to the src directory in your lighttpd source directory
      (There should be a bunch of other mod_* files in this directory, as well)

    * Open src/Makefile.am in your favorite text editor
    
    * Find the line that says (line 220 in the current SVN version):
lib_LTLIBRARIES += mod_accesslog.la

    * Add this above:
lib_LTLIBRARIES += mod_bandwidth.la
mod_bandwidth_la_SOURCES = mod_bandwidth.c
mod_bandwidth_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined
mod_bandwidth_la_LIBADD = $(common_libadd)

    * Re-run your ./autogen.sh, ./configure, make, and make install as normal
    
    * If done correctly, you should see some mod_bandwith.so and mod_bandwidth.la
      files in the src directory.
    
    * Add mod_bandwidth to the listed of server.modules in your lighttpd.conf 
      and the other required configuration directives.
