DNA ANALYZER 1. copy the following files in your source directory: - DNA.c - DNA1.c - DNA2.c - DNA3.c - Makefile - cgic.c - cgic.h - response.html - upload.html - README - install 2. fix the Makefile by putting in your cgi-bin directory name in the mv statements: change mv DNA /home/httpd/cgi-bin/upload to mv DNA /your/cgi-bin/directory 3. change DNA.c and DNA1.c by putting your cgi-bin directory in the ACTION statements: in DNA.c change: fprintf (cgiOut, "
"); to fprintf (cgiOut, ""); in DNA1.c change: fprintf (cgiOut, ""); to fprintf (cgiOut, ""); 4. copy response.html to your htdocs directory 5. change the statement to reflect your cgi-bin directory UPLOAD 1. copy upload.html to your htdocs directory 2. copy the following files to your cgi-bin directory: - install - upload.cgi 3. read README 4. run install and follow instruction 5. Note: in upload.cgi, if you set the upload path as $path = "/tmp/upload"; you must define the PATH as #define PATH "/tmp/upload/" DNA.c