"Fossies" - the Fresh Open Source Software Archive

Member "cgiwrap-4.1/doc/quickref" (16 Jun 2008, 2213 Bytes) of package /linux/www/old/cgiwrap-4.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1                         CGIWrap - URL Quick Reference
    2      __________________________________________________________________
    3 
    4    In all of the below examples, replace SERVER with the hostname and port
    5    of your webserver. Replace USER with your userid, and replace SCRIPT
    6    with the name of the script that is located in your cgi-bin directory.
    7 
    8    In the below URLs you can replace "cgiwrap" according to the following:
    9 
   10    cgiwrap
   11           Normal script execution
   12 
   13    cgiwrapd
   14           Executes script, but returns debugging information, also is
   15           returned preformatted, so you can see the source that the script
   16           is outputting.
   17 
   18    nph-cgiwrap
   19 
   20    nph-cgiwrapd
   21           Same as above, except you sometimes need to use this if your
   22           script outputs binary data, such as an image counter script.
   23 
   24   Standard Installation of CGIWrap
   25 
   26    Place your scripts in your ~/public_html/cgi-bin/ directory
   27 
   28      * http://SERVER/cgi-bin/cgiwrap/USER/SCRIPT
   29      * http://SERVER/cgi-bin/cgiwrap/~USER/SCRIPT
   30 
   31    Or the old deprecated syntax of:
   32      * http://SERVER/cgi-bin/cgiwrap?user=USER&script=SCRIPT
   33 
   34   Password Protected Installation of CGIWrap
   35 
   36    Place your scripts in your ~/public_html/auth-cgi-bin/ directory
   37 
   38      * http://SERVER/auth-cgi-bin/cgiwrap/USER/SCRIPT
   39      * http://SERVER/auth-cgi-bin/cgiwrap/~USER/SCRIPT
   40 
   41    Or the old deprecated syntax of:
   42      * http://SERVER/auth-cgi-bin/cgiwrap?user=USER&script=SCRIPT
   43 
   44   Other Options
   45 
   46    With certain other web servers, the above syntax can sometimes be
   47    shortened depending on how the local administrator has set up the
   48    server. For example, some site support a URL syntax similar some of the
   49    following:
   50      * http://SERVER/~USER/SCRIPT.cgi
   51      * http://SERVER/cgi-bin/~USER/SCRIPT
   52      * http://SERVER/cgiwrap/~USER/SCRIPT
   53      * http://SERVER/~USER/cgi-bin/SCRIPT.cgi
   54 
   55    The administrator can look at the tricks document for some ideas on
   56    configuring the server.
   57 
   58   Notes
   59 
   60    The syntax examples above using user= and script= are carryovers from
   61    the original versions of CGIwrap, and are not really needed. I highly
   62    reccomend you don't use them, the other examples are much clearer and
   63    easier to use.