- CONFIGURING THE CGI FILES -
FIRST: Unzip the SoftSite v1.0 file (ss10.zip) to
your hard drive. You should see a cgi-bin folder within the main
folder...
(1) Files in the cgi-bin folder
and how to configure them...
INDEXER.CGI
(This file is used to
index the contents of the database - (more on this later). In the upper-left
corner of this file, change the path to reflect the location of the Perl
program on your host (ie; #!/usr/local/bin/perl).
LIB.TXT(This file is used to store the indexed
listings and requires no modification).
RESULTS.HTML
(This file is used to display
search query results). Using an HTML editor, locate the following line in
this file...
<FORM
action="/cgi-bin/share.cgi">
Replace this line with the correct URL to share.cgi on your host.
SEARCHER.DAT
(This file is used to
store search data and requires no modification)
SHARE.CGI
(This is the main file).
In the upper-left corner of this file, change the path to reflect the location
of the Perl program on your host (ie; #!/usr/local/bin/perl).
YOURINFO.DAT
(This is where the variables
are set). Locate the following lines in this file...
$basedir =
"/home/sprite/www.spriteworks.com/htdocs";
Replace this first line with the correct path
to your root directory
$BaseURL =
"http://www.spriteworks.com";
Replace this second line with the correct URL
of your site.
(2) After editing and saving, upload all six of
the above files (in the ASCII mode) to your cgi-bin folder and chmod them
to 777. Done.
- HTML FILES AND IMAGES -
(1) Change the email address and 'thanks.html'
values (in cursive, below) to reflect the correct information...
<INPUT type=hidden name="recipient"
value="support at spriteworks dot
com">
<INPUT type=hidden name="redirect"
value="/thanks.html">
And these are the pages
you will make these changes in (A-L)...
(A) The "Enjoying Your Visit?" poll (located in the lower-left
corner of each page).
(B) The "Subscribe To Our Newsletter" form (located at the bottom
of the main page).
(C) The resource/software submission form(s) - submit.html or
sub1, sub2, sub3, etc (depending on the script
you purchased).
(D) The contact form - contact.html.
(E) The "Visitor Satisfaction Survey" form - takepoll.html.
(F) The "Tell A Friend" form - friend.html
(G) The "Advertise" form - sponsor.html
(H) The "Multiple Recipient Newsletter" form -
admin.html
(I) The "Comments" form - message.html
(J) The "Write a Review" form - review.html
(K) The "Premium Listings" form -
paidlist.html
(L) The "Full Review Service" form -
fullrev.html
(2)
After you
have finished editing all of the HTML files, create a folder on your
host (it can have any name) and upload all of the HTML files and images to
this folder. If you don't wish to create a folder, simply upload them
to your root (main) folder. It is recommended that you set your ftp client
to the "auto-detect" mode in order to insure proper file integrity during
the upload. You do not need to chmod these files.
(3) Next, download the small
FormMail
script and configure it using the included
instructions
(there are actually only a few variables that need to set in the FormMail
script). Upload it to your cgi-bin folder (in the ASCII mode) and chmod it
to 777. If you don't wish to use FormMail, you may use another form-processing
script instead. In fact, it is likely that your host will already have
a preinstalled mail script configurable from your control panel
(as most hosts do).
(4) After you have completed these steps, simply
bring up your web browser and in the address form, type the
following...
http://www.yoursite.com/cgi-bin/indexer.cgi
This will index all of the pages
(including the database). You should repeat this process at least once a
week to insure that all of the pages are up to date and searchable. Your
finished!.
- ADDING NEW SUBMISSIONS -
Each software listing is situated
within a 4-part table (shown below). There are 5 of these per page.
This page is called a 'template' and is what you will use to create
additional pages once the first one has been filled to it's limit of 5 software
listings...
Thank's to our new template-based
system and other enhancements, it is now easier than ever to manage your
software listings and completely customize the scripts. However, if you do
run into any problems, please use our
support form
to drop us a line. |