summaryrefslogtreecommitdiff
path: root/fcgiwrap.8
diff options
context:
space:
mode:
authorGrzegorz Nosek <grzegorz.nosek@gmail.com>2011-12-08 12:57:00 -0800
committerGrzegorz Nosek <grzegorz.nosek@gmail.com>2011-12-08 12:57:00 -0800
commit13288627b4162ea417ab0edaff81648e0df82152 (patch)
tree63ada76770da7b206293b4d91a4c6793e18a3b4e /fcgiwrap.8
parent58ec209478f50b2048cff5805a4ff4176f3c230b (diff)
parent60f23550ae34c9a8b71f510132a5c1b87f109bbd (diff)
downloadfcgiwrap-13288627b4162ea417ab0edaff81648e0df82152.tar.xz
fcgiwrap-13288627b4162ea417ab0edaff81648e0df82152.zip
Merge pull request #5 from goochjj/master
STDERR redirection back through the FCGI socket
Diffstat (limited to 'fcgiwrap.8')
-rw-r--r--fcgiwrap.86
1 files changed, 6 insertions, 0 deletions
diff --git a/fcgiwrap.8 b/fcgiwrap.8
index 504a9c2..3d58687 100644
--- a/fcgiwrap.8
+++ b/fcgiwrap.8
@@ -28,6 +28,12 @@ that may need it).
.B \-c \fInumber\fP
Number of fcgiwrap processes to prefork.
.TP
+.B \-f
+Redirect STDERR output from executed CGI through FastCGI so it shows in the web server
+error log. Otherwise it would be returned on \fBfcgiwrap\fP's STDERR, which could be redirected.
+If running through \fBspawn-fcgi\fP, \fBfcgiwrap\fP's STDERR is sent to /dev/null, so this option
+provides a way to get that output back.
+.TP
.B \-s \fIsocket_url\fP
A URL for the listen socket to bind to. By default \fBfcgiwrap\fP expects
a listen socket to be passed on file descriptor 0, matching the FastCGI convention.