cgi-wrap - program that runs cgi script files
The information here is intended for users of dmapub.
Usage:
http://server/cgi-bin/cgiwrap/USERID/SCRIPTNAME
http://server/cgi-bin/cgiwrap/~USERID/SCRIPTNAME
http://server/cgi-bin/cgiwrap?user=USERID&script=SCRIPTNAME
Since the /home partition does not have execute permission (for security reasons), you must use cgiwrap with shell scripts or perl scripts.
In order to use CGI scripts you must make the directory -
`mkdir /home/your_login_name/public_html/cgi-bin'.
and set execute permissions for everyone:
`chmod 711 /home/your_login_name/public_html/cgi-bin'.
In order to run shell scripts with cgiwrap, anyone must have read and execute permission for it (chmod 555).
For the server on dmapub and the "email.pl" cgi script in
your cgi-bin (/home/your_login_name/public_html/cgi-bin),
use one of the following in your home page:
http://www.dma.org/cgi-bin/cgiwrap/your_login_name/email.pl http://www.dma.org/cgi-bin/cgiwrap/~your_login_name/email.pl http://www.dma.org/cgi-bin/cgiwrap/?user=your_login_name&script=email.pl
This URL can be followed by an extra path and/or a query string. For examples of usage see CGI examples.