[dancer-users] apache2 and fastcgi

Scott H scott.harpster at gmail.com
Wed Mar 7 17:35:38 GMT 2018

I usually use the apache2 plack handler but from what I understand you cant
do that if you plan on using apache for more then 1 dancer site.

Im running into an issue with setting up fast cgi.

[Wed Mar 07 10:31:26.962311 2018] [fastcgi:error] [pid 20247] [client] FastCGI: comm with server
"/opt/guestaccess/millard/public/dispatch.fcgi" aborted: idle timeout (30
[Wed Mar 07 10:31:26.962415 2018] [fastcgi:error] [pid 20247] [client] FastCGI: incomplete headers (0 bytes) received from
server "/opt/guestaccess/millard/public/dispatch.fcgi"

I first had to chmod +x dispatch.fcgi so it would execute. I then set
apache2 to do prefork rather then event mpm. chowned www-data user to own
the dancer2 folder, Now I am getting those errors.


I followed that guide but it doesnt seem to work. I went with mod_fastcgi.

This is on ubuntu 16.04.x LTS.

Worst case is i setup starman and proxy it but i dont really want to do
that this time. What am i missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20180307/e8bb7025/attachment.html>

More information about the dancer-users mailing list