>>> for NT, Unix, or Win 9X


Files in this package.


All script files go in your sites cgi-bin/auto-directory


Installation

Follow the directory structure in the .zip file (except cgi-bin)
Upload all the files in the same structure to your server. Upload the program files (.pl .pm) to cgi-bin/auto-directory .
Be sure to keep working copies of all program files as a backup. Sample data and user images are included with the program for testing.

  1. Upload pathtest.pl to your cgi-bin - ASCII mode!!
  2. With your Browser run pathtest.pl to determine the path to the cgi-bin
    Make a note of the path we'll use it when settting up the config file.
  3. Make a folder called auto-directory under your cgi-bin - /cgi-bin/auto-directory
  4. Make a folder called data under the /cgi-bin/auto-directory/data
  5. Chmod data to 777 (unix only)
  6. Upload category.list and data.txt to the /cgi-bin/auto-directory/data directory
  7. Chmod category.list and data.txt to 666 (unix only)
  8. Upload all the program files (.pl .pm) to your /cgi-bin/auto-directory (ASCII mode)
    For unix chmod all program files to 755

  9. Make a folder called auto-directory under your parent folder (home directory)
  10. Make a folder called images under the main folder auto-directory
  11. Make a folder called auto-images under the main folder auto-directory
  12. Chmod userimages to 777 (unix only)
  13. Make a folder called admin under the main folder auto-directory

  14. Configure all the variables and options in the auto-configuration
    For help with configuration, an FAQ is available at: http://rlaj.com/scripts/faq/.



The Auto-Directory is completely cgi driven there are no HTML pages except the page top and page bottom that is used for all screens the user sees. The exception is the coupon.


Controling the look of your pages.

The file page_top.html is used to control the look of all the screens the user sees. The program will open this file and use it for the top section for all cgi pages.

The page_bottom.html is used for the bottom of all program pages.

The colors for the directory pages is controled with the auto-configuration the configuration file for all the cgi's. Edit the configuration carefully. I suggest you edit the file changing one thing at a time. This way if you get an error, you will know where it is.


Operation

Each time the program runs:
user clicks on a category link or selects from the dropdown list

  1. the file page_top.html is opened and printed to the screen
  2. the data for the category the user chose is printed to the screen (autoectory.pl)
  3. the page_bottom.html is opened and printed to the screen, completeing the page.
See the /admin/index.html page for all administration programs.