[dev] lighttpd 1.5 and dimp

Matt Selsky selsky at columbia.edu
Mon Apr 14 04:39:53 UTC 2008


On Sun, Apr 13, 2008 at 04:45:23PM +0200, Duck wrote:
> 
> 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

Committed, thanks!


-- 
Matt


More information about the dev mailing list