summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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