summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Nosek <root@localdomain.pl>2015-04-19 11:35:58 +0200
committerGrzegorz Nosek <root@localdomain.pl>2015-04-19 11:35:58 +0200
commit085d6ffddd071d468301c851ad3ac3f671fd95a2 (patch)
tree83508c4578eeb89307fa931db9d9816e451d752a
parentcaf1f5c7b3e9cf5b777139c0419d47fa933ff510 (diff)
downloadfcgiwrap-085d6ffddd071d468301c851ad3ac3f671fd95a2.tar.xz
fcgiwrap-085d6ffddd071d468301c851ad3ac3f671fd95a2.zip
Add documentation for FCGI_CHDIR
-rw-r--r--fcgiwrap.86
1 files changed, 6 insertions, 0 deletions
diff --git a/fcgiwrap.8 b/fcgiwrap.8
index 3d58687..bf02c26 100644
--- a/fcgiwrap.8
+++ b/fcgiwrap.8
@@ -65,6 +65,12 @@ actual executable
SCRIPT_FILENAME
.RS
complete path to CGI script. When set, overrides DOCUMENT_ROOT and SCRIPT_NAME
+.RE
+FCGI_CHDIR
+.RS
+By default fcgiwrap changes to the directory containing the CGI script before executing it (per CGI spec).
+You may override this behaviour by passing FCGI_CHDIR containing the script's expected working directory
+or \- to skip the directory change completely.
.SH EXAMPLE
The fastest way to see \fBfcgiwrap\fP do something is to launch it at the command line