Actions
Howto mailman¶
mailman is free software for managing electronic mail discussion and e-newsletter lists. You need a FastCGI CGI wrapper running (see Howto_CGI).
Lighttpd config¶
setup {
module.load ( "mod_fastcgi", "mod_vhost" );
}
var.vhosts = [];
# ...
var.vhosts = var.vhosts + [
"lists.example.com" => {
alias (
("/mailman/", "/usr/lib/cgi-bin/mailman"),
("/pipermail/", "/var/lib/mailman/archives/public"),
("/images/mailman/", "/usr/share/images/mailman")
);
if req.path =^ "/mailman/" {
pathinfo;
fastcgi "unix:/var/run/lighttpd/www-data-cgi.sock";
} else if req.path =^ "/pipermail" {
dirlist;
}
}
];
# ...
vhost.map var.vhosts;
Updated by stbuehler over 13 years ago · 3 revisions