UPOINT:: CGI Scripts:: @1 Document Publisher
.
Installation:

We assure you that Document Publisher has the simplest installation procedure of its kinds:

1) Use only EITHER "docpublisher_Perl_5.006_or_newer.cgi" or "docpublisher_Perl_5.005_or_older.cgi" depending which Perl version is installed in your server. To find out the Perl version on your server, you may download PerlDiver and test it in your server. If you are not sure, use the one for the 5.006 version first. If you are getting an internal server error (error 500) when calling the script, replace it with the one for Perl version 5.005.

2) Rename the long filename to "docpublisher.cgi" (DO NOT use other names or the script will fail).

1) If necessary, change the path to Perl (#!/usr/bin/perl) pointing to Perl's path in your environment (`which perl` from the command-line will tell you what to use here).

2) Create a folder "docpublisher" under your root directory and chmod to 777.

3) Create a folder "images1" under the "docpublisher" folder and upload all images that come with the zip file to this folder.

4) Create another folder "images2" and chmod to 777.

5) Open the script "docpublisher.cgi". Modify the variables at top portion. Upload the script to the "docpublisher" folder and chmod to 755.
*** You may also install the script inside the cgi bin in case your ISP does not allow scripts to be executed outside the cgi bin. In this case, all images must be uploaded to a sub-folder outside the cgi bin. DO NOT place the images under the cgi bin.

SKIP THESE STEPS IF YOU ARE USING THE SCRIPT FOR VERSION 5.006 :

6) Upload the file "CGI.pm" to the same location as docpublisher.cgi.

7) Create a folder "CGI" (capital letters) one level down the docpublisher.cgi/CGI.pm. Ie., if the script is located at yourdomain.com/docpublisher/docpublisher.cgi, then the CGI folder should be yourdomain.com/docpublisher/CGI. Upload all the *.pm files to this folder.