include_shell does not work
I have two identical versions of lighttpd (1.4.19) installed on two slightly different debian machines. One is processing the include_shell directives as expected, the other one ignores them.
I have modified /usr/share/lighttpd/create-mime.assign.pl to drop a line to a logfile, whenever called -=> stays empty.
I'm attaching the output of
strace -fe trace=open /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
for the working and non-working case.
While this might be a debian specific bug, you might be the guys able to find it.
Updated by 00marcus over 10 years ago
Turns out, lighttpd did not execute the include_shell scripts when I run it from within a screen session. It works when I run it from without.
Comparing both environments and playing with them bit by bit, it turned out to be a nasty misconfig in my .screenrc. The line "shell bash" caused all the problems.
(or fixing the .screenrc)
rendered the system back to working.
Also available in: Atom