### *** CONFIGURATION FILE *** ###
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
#
# Program is copyright by Ranson's Scripts all rights reserved
# (c)2000 Ray and Grace Web Design BDA Ranson's Scripts
# Email - support@rlaj.com
#
# Program Name ------- auto-configuration
# Program Version ---- 1.30
# Configuration File This File
#
#
# Copying this program and re-installing at another location
# requires an additional license.
#
# Additional copies of this program are available from
# Ranson's Scripts at a 20% discount
#
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
### *** IMPORTANT *** ###
### *** If FTP'ing this file, be sure to send in ASCII format *** ###
#
# You must chmod the cgi's to 755 UNIX Only
# For information on chmod see Ranson's FAQ's
#
# 1. Configure the varialbles in the configuration section below
# be careful to not disturb the single (') or double quotes (")
# surounding each variable, or the semicolon (;) at the end of
# each line.
#
# The 'Path' to the files so Perl can find them is essential.
# The PATH is NOT the WEB ADDRESS(http://www.?)
#
# The path on Windows NT systems will look something like:
# $nt_path = 'c:\InetPub\wwwroot\my_folder\htmfiles';
#
# The path on Unix systems will look something like:
# $unix_path = '/home/httpd/html/my_folder/htmfiles';
#
# Run "pathtest.pl" to determine your correct path
# Available from Ranson's Scripts
# http://www.rlaj.com/sitetest/pathtest.zip
#
# IF ALL ELSE FAILS, ASK YOR SYSTEM ADMINISTRATOR (HELP DESK)
#
#
# Help with the path on your server can be found at:
# http://www.rlaj.com/faq/install.htm
#
#
#
#
#
# ### *** CONFIGURATION SECTION *** ###
# Enter an Administrator username and password
$username = 'uname';
$password = 'pword';
# For Windows OS we use the perl module "SendMail.pm"
# For Unix, we use the system mail "sendmail"
# Enter the operating system for your server
# Unix = '0'
# NT = '1'
$operating_system = '0';
# This is who the mail goes to when a user signs up
$webmaster = 'rlaj@rlaj.com';
# If this is a Windows Server, you WILL need to define the SMTP server
# below
$Define_SMTP_Server = 'smtp.dtccom.net';
# If you are having trouble with the windows mail,
# set the debug below to "1"
$Set_Debug = '0';
# For Unix mail set the path to sendmail below
$mailprog = '/usr/sbin/sendmail';
### *** :) *** ###
### *** Paths for Folders and Files *** ###
# Enter the complete path for the main "auto-directory" directory
$root_path = '/rlaj/auto-directory';
# Enter the complete path for the "data" directory, listings database dir.
$data_path = '/cgi-bin/auto-directory/data';
# Enter the complete path to the category.list
$category_list = '/cgi-bin/auto-directory/data/category.list';
# Enter the complete path to the autotype.list
$autotype_list = '/cgi-bin/auto-directory/data/autotype.list';
# Enter the path to the image directory for banners and images.
$user_images_dir = '/rlaj/auto-directory/auto-images';
### *** :) *** ###
# Enter the Web Address of your home page
$home_page = 'http://www.rlaj.com/';
# Enter the Web Address for the auto-directory folder
$auto_directory = 'http://www.rlaj.com/auto-directory';
# Enter the Web Address for the auto-directory cgi folder (cgi-bin/auto-directory)
$auto_directory_cgi = 'http://www.rlaj.com/cgi-bin/auto-directory';
### *** :) *** ###
# THIS IS THE SECTION THAT CONTROLS ALL THE COLORS AND IMAGE SIZES
# FOR THE LISTINGS
# Enter the background color for the title - Table cell color
$title_bg_color = '5B005B';
# Enter the font color, size, and face for the category name that appears just
# above the listings
$Title_Font = '<FONT FACE=Arial Size=+1 COLOR=FFFFFF>';
# Enter the table background color for the drop down menu
$TableBg = '5B005B';
# Enter the table background color for the listings
$table_bg_color = 'FFFFFF';
# Enter the table border code if you want a border around each listing.
# Format is -> Border=1 Bordercolor=B0B000
$table_border = 'Border=1 Bordercolor=EEEEEE';
# Enter the ad seperator - this can be breaks, <HR> or an image
# Used between listings.
$ad_separator = '<BR><BR>';
# Enter the Font Tag for the Category Name
$category_name_font = '<FONT FACE=Arial Size=+2 COLOR=5B005B>';
# Enter the maxium width of the images used for listings
$listing_max_width = '200';
### *** :) *** ###
# The information below on your company is optional. Only what
# information you enter below will appear at the top of the final
# page of the auto-signup.pl and the auto-signup2.pl listing programs.
# If you are allowing mail in payments, you need to enter your
# company information.
# Enter your company name
$company_name = 'Company Name';
# Enter your company address
$company_address = 'Company Address';
# Enter your company city state and zip
$company_city_st_zip = 'City State, Zip';
# Enter your comapny phone
$company_phone = '555-555-5555';
# Enter your company email address
$company_email = 'email@your_server.com';
### *** :) *** ###
# Title for all cgi pages
$title = 'Business Directory';
# Select the options you want to allow your users access to. 1=Yes 0=No
$image_option = '1';
$coupon_option = '1';
### *** :) *** ###
# Enter the number of ads to display if the directory program is called directly
# This will display the most recient ads first
$opening_page_items = '5';
# Enter the number of ads to display per page for the search program
$items_per_page = '5';
# Enter the limit you want to put on the length of the Title
# for the ad. The # of characters.
$title_limit = '50';
# By default the listing sort order is by date, if you want to
# sort the listings by "Title", set the var below to '1'
$sort_by_title = '1';
### *** DONE *** ###
# Only edit below if you are NOT using the default directory structure.
# Enter the web address to the file upload program for banners, maps, etc.
$user_images_url = "$auto_directory/auto-images";
# Enter the web address to the coupons folder
$coupons_dir = "$auto_directory/coupons";
# Enter the Web Address where the images will be stored for this program
$image_directory = "$auto_directory/images";
# Enter the Web Address of the main page of the directory
# This can be the auto-index.pl or the auto-directory.pl
# Or you can create your own opening page.
$opening_page = "$auto_directory_cgi/auto-index.pl";
# Enter the Web Address of the directory.pl
$directory_cgi = "$auto_directory_cgi/auto-directory.pl";
# Enter the Web Address of the auto-search.pl
$search_cgi = "$auto_directory_cgi/auto-search.pl";
# Enter the Web Address of the listing.pl
$listing_cgi = "$auto_directory_cgi/auto-listing.pl";
# Enter the Web Address of the user editor program dir-edit.pl
$coupon_editor = "$auto_directory_cgi/auto-coupon-edit.pl";
# Enter the web address to the image directory for banners, maps, etc.
$upload_url = "$auto_directory_cgi/auto-uploadlogin.pl";
### *** :) *** ###
# DO NOT CHANGE THIS
$config_var=1;