|
The other main requirement is that permissions need to be setup for the perl scripts to create and update data files. This is typically controlled by the directory permissions and the privileges of the perl scripts. In UNIX for example, the data directory should have permissions of 666. The cgi files should have permissions of 755. Also, your server may require that the cgi scripts be executed from a specific directory. 1) Unzip or untar all the files into the directory where the adcafe data and graphics will be stored. All the cgi, htm, and gif files should be in this directory. This directory must have privileges that will allow the creation of files by a browser client. This is on the server. You must transfer (ie. ftp) the files to the server. This should be the directory where the adcafe data will be stored ($adcafeDirData below).
2) Edit the install.cgi file. You may want to do this before you transfer the files to the
server. Enter a value for the following variables. This script will
install and filter the files with the values that you enter. It will copy the cgi files to a
cgi directory if that is necessary. The following variables need to be setup. Replace the
current value of the variable that is between the 'quotes'.
3) Telnet into the server to execute the 'install.cgi' script. ie 'perl install.cgi'. You could also enter a 'chmod 0755 install.cgi' (only on unix boxes). This should allow you just to execute 'install.cgi'. adCafe should now be setup on your server so that you can execute the cgi scripts that come with it. It will change to file permissions of all the cgi, html, and gif files. 4) Test your installation of AdCafe by running the script adcafe_setup.cgi from your browser. Enter in the address field 'http://www.yourcompany.com/adcafeCgiDirectory/adcafe_setup.cgi'. This should brng up a field that lets you enter the main site you will advertise for (these may be the only site you want or need). Submit this entry - adcafe will report if it was able to create the initial data files for you. If it did not there is probably a problem with your file permissions that didn't allow you to create files from your browser. 5) The setup script will display two links. The first one will display more information about how to use AdCafe and deliver the dafault ad in a frame at the top of the page using the sample file frame.htm. The 2nd link just displays the AdCafe information without testing ad deliver. 6) AdCafe should now be installed and able to be used to deliver ads. AdCafe is a product of Infohiway, Inc. |
|