Add a simple wrapper to log stderr in broken http servers.

This commit is contained in:
Uriel 2009-06-06 16:15:56 +02:00
parent e8cd9a1978
commit 9d87478586

5
bin/werc_errlog_wrap.rc Executable file
View file

@ -0,0 +1,5 @@
#!/usr/local/plan9/bin/rc
# This is a wrapper script for broken http servers like recent lighttpd versions which throw away cgi's stderr.
./werc.rc >>[2]/tmp/wlog.txt