carta
php-cgiwrap(1)

php-cgiwrap1

Usage

It is assumed that the user has already had an introduction to CGI and HTML.

Overview

This manual page documents briefly the cgiwrap, cgiwrapd, php-cgiwrap, php-cgiwrapd, nph-cgiwrap, and nph-cgiwrapd wrapper commands. It was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have an ordinary manual page. Instead, it has documentation in HTML format; see below.

CGIWrap is a gateway program that allows general users to use CGI scripts and HTML forms without compromising the security of the http server. Scripts are run with the permissions of the user who owns the script. In addition, several security checks are performed on the script, which will not be executed if any checks fail.

CGIWrap is used via a URL in an HTML document. As distributed, cgiwrap is configured to run user scripts which are located in the "~/public_html/cgi-bin/" directory.

There are three configuration files, installed in "/etc/php-cgiwrap/cgiwrap.*". For more information about their use and format, please see the files themselves, the information printed during configuration that is enclosed in "/usr/share/doc/php-cgiwrap/README.Debian", and the example copies of them in "/usr/share/doc/php-cgiwrap/examples" directory. If any of these configuration files does not exist, it will not be used. So to disable "cgiwrap.allow" checking, just `rm` or `mv` the file.

Options

cgiwrap - the plain vanilla wrapper.

php-cgiwrap

- the wrapper with php support.

cgiwrapd

- the debugging version. Script error debugging output is sent to the viewer.

php-cgiwrap

- the debugging verion with php support. Script error debugging output is sent to the viewer.

nph-cgiwrap

- Non Parsed Headers version, without debug output.

nph-cgiwrapd

- nph with debugging.

Author

This manual page was written by Karl M. Hegbloom <[email protected]> and modified by Pierre Machard <[email protected]> for the Debian GNU/Linux system.

From php-cgiwrap 3.9-3.1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.