
I was able to get this working with lighttpd, and I did had to choose a port, but only at lighttpd configuration, not at the Haskell source. Thanks, Maurício ChrisK a écrit :
I have only used this, all of these are from Haskell:
pamac-cek10:~ chrisk$ cat /etc/apache2/other/httpd-fastcgi.conf <IfModule mod_fastcgi.c> Alias /fcgi-bin/ "/Library/WebServer/FastCGI-Executables/"
AllowOverride None Options None Order allow,deny Allow from all SetHandler fastcgi-script Options +ExecCGI </Directory>
FastCgiIpcDir "/tmp/fastcgi" FastCgiServer "/Library/WebServer/FastCGI-Executables/hw.fastcgi" -pass-header Cookie FastCgiServer "/Library/WebServer/FastCGI-Executables/test.fastcgi" -pass-header Cookie FastCgiServer "/Library/WebServer/FastCGI-Executables/xwords.fastcgi" -pass-header Cookie </IfModule>
The above is included from the main httpd.conf which has:
pamac-cek10:~ chrisk$ grep -i fast /etc/apache2/httpd.conf LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so