[dev] lighttpd 1.5 and dimp

Duck duck at obala.net
Sun Apr 13 14:45:23 UTC 2008


A note to fix INSTALL doc.  As the fastcgi module was dropped with lighttpd 
1.5, broken-scriptfilename does not exists any more. Now you must fix the 
path_info by your own with rewrite-request option in the new proxy-core. The 
blow config works for me:

$HTTP["url"] =~ "^/dimp/" {
    $HTTP["url"] != "/dimp/" {
        proxy-core.backends = ( "unix:/tmp/php-fastcgi.sock" )
        proxy-core.protocol = "fastcgi"
        proxy-core.allow-x-sendfile = "enable"
        proxy-core.rewrite-request = (
            "_pathinfo" => ( "^/dimp/?(.*)" => "/$1" )
        )
    }
}


http://trac.lighttpd.net/trac/wiki/Docs%3AModProxyCore

Duck


More information about the dev mailing list