# Perl Support File # Variables used by all scripts in the WebStore application # Script specific setup files are located in the /Databases sub-directory # File Permissions: 644 -rw-r--r-- ############################################################################ # ws_global.setup - VERSION: 4.15.00 UNIX # ############################################################################ # Copyright (c) 1996 - 2002, RDC Software # Full copyright notice can be found in the following files for the # listed license type: # Single User License: /Docs/Copyright_SingleUser.html # Server License: /Docs/Copyright_Server.html # This copyright notification can not be altered or removed from this file. #==========================================================================# # Created: 05/25/97 Last Modified: 01/01/2002 # WebStore@ratite.com http://www.ratite.com # RDC Software, 16155 FM 2022 N, Grapeland, TX 75844, USA #==========================================================================# # Script specific variables are located in the following files for the # listed script: # ws400CS.cgi: /Databases/outlet.setup # ws_banner.cgi: /Databases/ws_banner.setup # ws_editor.cgi: /Databases/outlet_editor.setup # ws_mail.cgi: /Databases/ws_mail.setup # Verify LINE 1 in each script above points to your server's Perl5. # If your domain has a specific directory configured for perl scripts, such # as cgi-bin, place ws_global.setup (this file) and all .cgi files in the # cgi-bin directory. Otherwise, this file and the .cgi files may be left in # the /Web_store directory or placed in a directory of your choosing. # The /Web_store directory and all sub-directories must be placed in a # directory which can parse HTML files and output graphic files to the # http daemon. # The directory which is accessed with the URL http://www.YourDomain.xxx # or any directory under this directory is the correct location for the # /Web_store directory structure. # Perl scripts can not be placed in any directory assigned to MS Frontpage. ############################################################################ # DEFINE VARIABLES # The following Perl modules and OpenSSL are used by WebStore for real-time # payment processing: # # Package/File Download URL for latest version # ------------ ------------------------------- # # Digest::MD5 http://www.perl.com/cgi-bin/cpan_mod?module=Digest::MD5 # OpenSSL http://www.openssl.org/source/ # Net::SSLeay http://www.perl.com/cgi-bin/cpan_mod?module=Net::SSLeay # OpenSSL must be installed before Net::SSLeay. # Net::SSLeay and OpenSSL is the SSL implementation used to transmit requests # to the payment processor's gateway hub using the https protocol. # Digest::MD5 is used for checksum verification with Authorize.Net processing. # If applicable, inform Perl where user installed Perl modules are located. use lib '/home/ratite/perl/lib/site_perl/5.6.0'; use lib '/home/ratite/perl/lib/site_perl/5.6.0/i386-linux'; # $nslookup is the UNIX path to your system's nslookup program. # If mis-configured, all scripts attempt to locate nslookup. If nslookup is # not located, all scripts use gethostbyname. No error message is generated. $nslookup = '/usr/bin/nslookup'; # $sendmail is the UNIX path to your system's sendmail program. # If mis-configured, all scripts generate a "System Files not Found" message. # Check for $pgp is included in the error message. $sendmail = '/usr/sbin/sendmail'; # $pgp is the UNIX path to your system's PGP program. # If the path defined in $pgp does not point to your server's PGP program, # WebStore will generate a "System File not Found" message. # WebStore supports the following PGP programs: # # $pgp = '/usr/local/bin/pgp'; # pgp = 2.6.2 # $pgp = '/usr/local/bin/pgpe'; # pgpe = 5.0 # $pgp = '/usr/bin/gpg'; # GnuPG # If your server does not provide PGP, set $pgp = ''. # Setting $pgp = '' disables PGP encryption of administrative order e-mail # messages in WebStore. $pgp = '/usr/bin/gpg'; $pgp = ''; # $basedir is the UNIX path to the /Web_store directory. # The /Web_store directory and all sub-directories must be placed in a # directory which can parse HTML files and output graphic files to the # http daemon. $basedir = '/home/ratite/public_html/400CS'; # If $use_ssl = 0, SSL is disabled. # If $use_ssl = 1, clients are taken directly to the order form with # SSL enabled. If using frames, WebStore remains in frames. # WebStore will switch the value of $use_ssl from 1 to 2 for those # browsers which may not be capable of SSL transmissions. # If $use_ssl = 2, clients are given a form to select the use of SSL. # If using frames, WebStore remains in frames. # If $use_ssl = 3, clients are given a form to select the use of SSL. # Buttons in this form TARGET="_top" and exit frames. # When using SSL, this script substitutes $ssl_url (below) into # $main_script_url (below) when clients go to the order form. # Refer to /Docs/ssl.html for details on configuring graphic URLs # in WebStore's order form setup file. $use_ssl = '3'; # 1,2 or 3 = Yes, 0 = No # $main_script_url is the absolute NON SECURE URL for all scripts. # Each script adds: /script_name.cgi to $main_script_url. $main_script_url = 'http://www.ratite.com/400CS'; # $ssl_url is the absolute SECURE URL for ws400CS.cgi. # If $use_ssl = 1, 2, or 3 and the client's web browser is capable of SSL # transmissions, this script will use $ssl_url to construct the