Skip to content
Browse files

added configuration examples to manpage

  • Loading branch information...
1 parent a7986e6 commit b094035a20a755bd85073981b4e0b06adbb89aed @wmark wmark committed
Showing with 45 additions and 1 deletion.
  1. +45 −1 gnosek-fcgiwrap.8
46 gnosek-fcgiwrap.8
@@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*-
-.TH FCGIWRAP 8 "April 1, 2009"
+.TH FCGIWRAP 8 "May 25, 2010"
.\" Please adjust this date whenever revising the manpage.
.\" Some roff macros, for reference:
@@ -31,8 +31,52 @@ Number of fcgiwrap processes to prefork.
.B \-h
Show a help message and exit.
+When running, \fBfcgiwrap\fP evaluates these environment variables set by
+the web server calling a fcgi-scipt. These variables will be concatenated
+and the resulting executable run as CGI script wrapped as FastCGI.
+directory which the script resides in
+actual executable
+Most probably you will want to launch \fBfcgiwrap\fP by
+.I spawn-fcgi
+using a configuration like this:
+.I Nginx
+can be configured to have the arbitrary CGI
+.I cgit
+run as FastCGI as follows:
+location / {
+ fastcgi_param DOCUMENT_ROOT /var/www/localhost/htdocs/cgit/;
+ fastcgi_param SCRIPT_NAME cgit;
fcgiwrap was written by Grzegorz Nosek <>
+with contributions by W-Mark Kubacki <>.
This manual page was written by Jordi Mallach <>,
for the Debian project (and may be used by others).

0 comments on commit b094035

Please sign in to comment.
Something went wrong with that request. Please try again.