summaryrefslogtreecommitdiff
path: root/bin/werc_errlog_wrap.rc
diff options
context:
space:
mode:
authorglenda <glenda@9front.local>2020-11-15 15:13:27 +0000
committerglenda <glenda@9front.local>2020-11-15 15:13:27 +0000
commit39318169e0b50551db511851829f9337c5fa6313 (patch)
tree65a0ef5c1da9677532fa8105293d017919473057 /bin/werc_errlog_wrap.rc
Import site to git
Diffstat (limited to 'bin/werc_errlog_wrap.rc')
-rwxr-xr-xbin/werc_errlog_wrap.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/werc_errlog_wrap.rc b/bin/werc_errlog_wrap.rc
new file mode 100755
index 0000000..94bd18f
--- /dev/null
+++ b/bin/werc_errlog_wrap.rc
@@ -0,0 +1,5 @@
+#!/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