swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 399d11e331f815cfae2a0b65349371c06be234ed
parent 5423176a361d5a6df20b3fc29977236238939a56
Author: uriel@vm41.cat-v.org <unknown>
Date:   Sat,  6 Jun 2009 16:15:56 +0200

Add a simple wrapper to log stderr in broken http servers.
Diffstat:
Abin/werc_errlog_wrap.rc | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/bin/werc_errlog_wrap.rc b/bin/werc_errlog_wrap.rc @@ -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