"Fossies" - the Fresh Open Source Software Archive 
Member "cgiwrap-4.1/htdocs/setup.html" (16 Jun 2008, 1775 Bytes) of package /linux/www/old/cgiwrap-4.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 <TITLE>CGIWrap - User Instructions</TITLE>
2 <CENTER><H2>CGIWrap - User Instructions</H2></CENTER>
3 <HR><P>
4
5 The following are instructions for setting up your account to be able to
6 use cgiwrap to execute cgi scripts. It is assumed that you are familiar
7 with writing CGI scripts and writing HTML documents for the WWW.
8
9 <P>
10 In the following instructions, the following information is assumed:
11 <UL>
12 <LI>UserID: <TT>joe</TT>
13 <LI>Home Directory: <TT>/users/joe</TT>
14 <LI>CGI Directory: <TT>/users/joe/public_html/cgi-bin</TT>
15 <LI>Name of Script: <TT>script.pl</TT>
16 <LI>Web Server: <TT>www.domain.com</TT>
17 </UL>
18 <P>
19
20 If you do not already have a cgi-bin directory set up, create one:
21 <UL>
22 <LI>cd ~joe
23 <LI>mkdir public_html
24 <LI>mkdir public_html/cgi-bin
25 </UL>
26
27 <P>If you are using AFS, you will need to set the AFS permissions on the
28 directories. See <A HREF="afs.html">Use of CGIwrap with AFS</A> for
29 details on the necessary permissions.
30
31 <P>Install the script into the cgi-bin directory, and set the proper execution
32 permissions on the file.
33 <UL>
34 <LI><TT>cp script.pl ~joe/public_html/cgi-bin/script.pl</TT>
35 <LI><TT>chmod 755 ~joe/public_html/cgi-bin/script.pl</TT>
36 </UL>
37
38 <P>The script is executed using the following URL:
39 <UL>
40 <LI><TT>http://www.domain.com/cgi-bin/cgiwrap/joe/script.pl</TT>
41 </UL>
42
43 <P>If you wish to see debugging output for your CGI, specify <B>cgiwrapd</B>
44 instead of <B>cgiwrap</B>, as in the following URL:
45 <UL>
46 <LI><TT>http://www.domain.com/cgi-bin/cgiwrapd/joe/script.pl</TT>
47 </UL>
48
49 <P>If the script is an <TT>nph-</TT> style script, you will need to run
50 it using the following URL's:
51 <UL>
52 <LI><TT>http://www.domain.com/cgi-bin/nph-cgiwrap/joe/script.pl</TT>
53 <LI><TT>http://www.domain.com/cgi-bin/nph-cgiwrapd/joe/script.pl</TT>
54 </UL>
55