lighttpd 1.5.0 pr on Debian sid step by step

Download:

http://www.lighttpd.net/download/lighttpd-1.5.0-r1857.tar.gz

Prerequisites:

sudo aptitude install libglib2.0-dev libpcre3-dev zlib1g-dev libaio-dev libbz2-dev automake1.9

Configure:

./configure –prefix={yourprefix}

Build:

make clean install

Run:

{yourprefix}/sbin/lighttpd –f {yourprefix}/etc/lighttpd.conf

More:

I modified mod_extforward to make it compatible with 1.5.0 pre-release

Patch:

cd your-path-to-source/lighttpd-1.5.0/ patch -p1 < lighttpd-1.5.0-pr-mod_extforward.patch autoreconf

patch:
lighttpd-1.5.0-pr-mod_extforward.patch

Trac on lighttpd
`

$HTTP["host"] =~ "^trac\.lighttpd\.net" {
    # alias, ...

    $HTTP["url"] =~ "^/trac/" {
        proxy-core.backends = ( "127.0.0.1:9090" )
        proxy-core.protocol = "fastcgi" 
        proxy-core.rewrite-request = (
           "_pathinfo" => ( "^/trac(/.*)" => "$1" ),
           "_scriptname" => ( "^(/trac/)" => "$1" )
        )
    }
}

`