Comment 2 for bug 174586

Revision history for this message
teemu koivisto (teemuko-koivisto) wrote :

zoneminder still seems to depend on apache2 on Ubuntu 13.04.
It should not as zoneminder works fine with lighttpd as well. Settings you need to do:

Add file /etc/lighttpd/conf-available/80-zm-include.conf with following lines (and symlink it in conf-enabled)
alias.url += (
"/cgi-bin" => "/usr/share/zoneminder/cgi-bin/",
"/zm" => "/usr/share/zoneminder/"
)

$HTTP["url"] =~ "^/cgi-bin" {
    cgi.assign = ( "" => "" )
    }

Enable php in lighttpd.conf:
cgi.assign = (".php" => "/usr/bin/php-cgi",)