I can confirm the issue. I just downgraded to lighttpd 1.4.8 and the
same setup is working wonderfully. Switching between versions 1.4.8
and 1.4.9 always displays the same behaviour–1.4.8 works as
advertised and 1.4.9 shows the aforementioned error messages.
Is anyone using lighttpd 1.4.9 successfully with FastCGI and an
unaltered dispatch.fcgi?
I’m running freebsd-5.4 and I’m having the exact same issue. I guess
downgrading to 1.4.8 is the solution. Been trying to figure this one out
for hours.
I’m running freebsd-5.4 and I’m having the exact same issue. I guess
downgrading to 1.4.8 is the solution. Been trying to figure this one out
for hours.
Thanks,
Fredrik
I just downgraded to 1.4.8 and everything is good again. Dunno what
causes 1.4.9 to bomb.
Someone posted in the lighty forum about similar issues with php and
lighty-1.4.9, but no answer to what is causing it. The current bug list
did not seem to have anything useful in it either.
Oh well I guess that explains why it’s working fine for me on FreeBSD.
Every reference to dispatch.fcgi includes the full path.
I just changed the config/dispatch.fcgi file on my dev machine and it
works fine as well. Problem seems to be solved then, I don’t see why
anyone should have too much trouble changing two lines.
–
Jeff B. / [email protected]
Phone: (203)432-9940 51 Prospect Rm. 011
High Performance Computing (HPC)
UNIX Systems Administrator, WorkStation Support (WSS)
Yale University Information Technology Services (ITS)
Perhaps a change is in order, so that from now on the copying of
lighttpd.conf to config/ should be followed by an amendment of the
full paths to dispatch.fcgi.
Nicky
Wouldn’t this break some of the auto deployment options? The beauty of
the relative path is that you can move the site to a different file
system or directory without breaking things.
Of course if the lighttpd team implemented this change as a security
thing it’s probably not negotiable.
I just changed the config/dispatch.fcgi file on my dev machine and it
works fine as well. Problem seems to be solved then, I don’t see why
anyone should have too much trouble changing two lines.
I came to the same solution for running 1.4.9. This obviously affects
only the script/server type of invocation, as a global lighttpd.conf
file (with virtual hosts anyway) would list the full paths anyway.
Perhaps a change is in order, so that from now on the copying of
lighttpd.conf to config/ should be followed by an amendment of the
full paths to dispatch.fcgi.
Just a note to some that still can’t get it running.
I had the same problem and have tried everything that you guys
suggested, nothing worked, tried 3 versions of lighty with no luck.
Finally just for the heck of it I ran dos2unix on my
public/dispatch.fcgi file and then changes permissions on it. After
that lighttpd came up just fine, paths weren’t the problem for me it was
the dos file format for some reason.
Mike