true;
services.httpd.enable = "james@localhost";
services.httpd.adminAddr = ["cgi"];
services.httpd.extraModules =
services.httpd.virtualHosts =[
{
documentRoot = "/var/www/";
extraConfig = ''
ScriptAlias "/cgi-bin/" "/var/www/cgi-bin/"
<Location "/haskell-cgi">
SetHandler haskell-handler
Action haskell-handler "/cgi-bin/haskell-cgi" virtual
</Location>
'';
}
];