Read Me for Auto-Directory Program
Read Me for Auto-Directory Program
Read Me for Auto-Directory Program
>>> for NT, Unix, or Win 9X
Files in this package.
Auto-Directory (main folder)
admin
cgi-bin (program files)
images
auto-images
license.html
config.txt (reference only)
page_bottom.html
page_top.html
read-me.html
admin (folder)
index.html - (Administration Page)
images (folder)
All images associated with this program.
auto-images (folder)
All images associated with each listing.
All script files go in your sites cgi-bin/auto-directory
cgi-bin/auto-directory
add-category.pl Use to edit or add categories
auto-admin.pl Main administration program to edit listings
auto-listing.pl Administrator listing program
auto-search.pl Search Engine
auto-configuration Configuration File
auto-upload.pl Image Upload
auto-uploadlogin.pl Image Upload Login
auto-directory.pl Main Directory Progarm
auto-library.pl Library of sub-routines
SendMail.pm Win32 mail program (SMTP Mail for Windows)
cgi-bin/auto-directory/data
category.list List of Categories
autotype.list Option list for vehicle types
data.txt Data file for program
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.
- Upload pathtest.pl to your cgi-bin - ASCII mode!!
- 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.
- Make a folder called auto-directory under your cgi-bin - /cgi-bin/auto-directory
- Make a folder called data under the /cgi-bin/auto-directory/data
- Chmod data to 777 (unix only)
- Upload category.list and data.txt to the /cgi-bin/auto-directory/data directory
- Chmod category.list and data.txt to 666 (unix only)
- Upload all the program files (.pl .pm) to your /cgi-bin/auto-directory (ASCII mode)
For unix chmod all program files to 755
- Make a folder called auto-directory under your parent folder (home directory)
- Make a folder called images under the main folder auto-directory
- Make a folder called auto-images under the main folder auto-directory
- Chmod userimages to 777 (unix only)
- Make a folder called admin under the main folder auto-directory
- 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
- the file page_top.html is opened and printed to the screen
- the data for the category the user chose is printed to the screen (autoectory.pl)
- the page_bottom.html is opened and printed to the screen, completeing the page.
See the /admin/index.html page for all administration programs.