"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "cgiwrap-4.1/doc/setup" of archive cgiwrap-4.1.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1                          CGIWrap - User Instructions
    2      __________________________________________________________________
    3 
    4    The following are instructions for setting up your account to be able
    5    to use cgiwrap to execute cgi scripts. It is assumed that you are
    6    familiar with writing CGI scripts and writing HTML documents for the
    7    WWW.
    8 
    9    In the following instructions, the following information is assumed:
   10      * UserID: joe
   11      * Home Directory: /users/joe
   12      * CGI Directory: /users/joe/public_html/cgi-bin
   13      * Name of Script: script.pl
   14      * Web Server: www.domain.com
   15 
   16    If you do not already have a cgi-bin directory set up, create one:
   17      * cd ~joe
   18      * mkdir public_html
   19      * mkdir public_html/cgi-bin
   20 
   21    If you are using AFS, you will need to set the AFS permissions on the
   22    directories. See Use of CGIwrap with AFS for details on the necessary
   23    permissions.
   24 
   25    Install the script into the cgi-bin directory, and set the proper
   26    execution permissions on the file.
   27      * cp script.pl ~joe/public_html/cgi-bin/script.pl
   28      * chmod 755 ~joe/public_html/cgi-bin/script.pl
   29 
   30    The script is executed using the following URL:
   31      * http://www.domain.com/cgi-bin/cgiwrap/joe/script.pl
   32 
   33    If you wish to see debugging output for your CGI, specify cgiwrapd
   34    instead of cgiwrap, as in the following URL:
   35      * http://www.domain.com/cgi-bin/cgiwrapd/joe/script.pl
   36 
   37    If the script is an nph- style script, you will need to run it using
   38    the following URL's:
   39      * http://www.domain.com/cgi-bin/nph-cgiwrap/joe/script.pl
   40      * http://www.domain.com/cgi-bin/nph-cgiwrapd/joe/script.pl