HowTo: Redmine, Lighttpd with Debian

I'll just post my lighttpd.conf. The rest can be easily found on the Internet.

$HTTP["host"] =~ "^dev.dornea.nu$" {
        evhost.path-pattern = "/home/redmine/current/public"
        server.follow-symlink = "enable"

        server.indexfiles = ( "dispatch.fcgi" )
        server.error-handler-404 = "/dispatch.fcgi"

        #dir-listing.activate = "enable"

        url.rewrite-once = (
            "^/(.*..+(?!html))$" => "$0",
            "^/(.*).(.*)"        => "$0",
        )

        fastcgi.server      = ( ".fcgi" => ( "redmine" => (
                "min-procs"       => 1,
                "max-procs"       => 5,
                "socket" => "/tmp/redmine.socket",
                "bin-path" => "/usr/bin/ruby /home/redmine/current/public/dispatch.fcgi",
                "bin-environment" => ( "RAILS_ENV" => "production" )
        ) ) )

    }

My redmine installation can be found under /home/redmine/current


Prev: HowTo: Keep your passwords safe using SQLite and SQLCipher
Next: Thank God there is iodine! IPv4 over DNS

comments powered by Disqus
Published:
2011-11-07 00:00
category:
Tag:
web14