CGIWrap - URL Quick Reference


In all of the below examples, replace SERVER with the hostname and port of your webserver. Replace USER with your userid, and replace SCRIPT with the name of the script that is located in your cgi-bin directory.

In the below URLs you can replace "cgiwrap" according to the following:

cgiwrap
Normal script execution

cgiwrapd
Executes script, but returns debugging information, also is returned preformatted, so you can see the source that the script is outputting.

nph-cgiwrap

nph-cgiwrapd
Same as above, except you sometimes need to use this if your script outputs binary data, such as an image counter script.

Standard Installation of CGIWrap

Place your scripts in your ~/public_html/cgi-bin/ directory

Or the old deprecated syntax of:

Password Protected Installation of CGIWrap

Place your scripts in your ~/public_html/auth-cgi-bin/ directory

Or the old deprecated syntax of:

Other Options

With certain other web servers, the above syntax can sometimes be shortened depending on how the local administrator has set up the server. For example, some site support a URL syntax similar some of the following: The administrator can look at the tricks document for some ideas on configuring the server.

Notes

The syntax examples above using user= and script= are carryovers from the original versions of CGIwrap, and are not really needed. I highly reccomend you don't use them, the other examples are much clearer and easier to use.