[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Raq3 CGI paths
- Subject: [cobalt-users] Raq3 CGI paths
- From: "Stuart Inkley" <itsystems@xxxxxxxxxx>
- Date: Wed Nov 15 18:12:57 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
New to CGI programming I am having trouble using the correct path statements
with scripts.
I have uploaded a 3 script account manager to my home domain and set up the
paths within the scripts to /home/sites/home/web yet this only brings up the
browser message internal configuration errors when viewed on a web browser.
Each script is dependent on the others to work and I don't seem to be
getting anywhere. I am using a standard cobalt raq3 server with perl5
support, sendmail, etc the scripts were uploaded in ascii and have their
permissions set to 755 as far as I am aware they use the same GID as the
site.
If anyone can shed any light on where I am going wrong I would be extremely
grateful.
Below is my main CGI script
#!/usr/bin/perl
#
# Version 1.07
##############################################################
# EDIT USER CONFIGURATIONS BELOW
#
# Note: These are the only configurations you will need to
# set in Account Manager LITE.
#
# Be sure to set the "require" paths in both the acctman.pl
# and the amadmin.pl files.
##############################################################
# Add your BODY tag information, like background graphic, color, etc.
$bodyspec = "background=\"\" bgcolor=\"#FFFFFF\" link=\"#0000FF\"
vlink=\"#0000FF\"";
# Add your own graphics, text, links, etc., to the top of your pages.
# Give the full directory path to your header.txt file. DO NOT include
# the header.txt file in the path here, just the directories.
# $header = "";
$header = "home/sites/home/web";
# Add your own graphics, text, links, etc., to the bottom of your pages.
# Give the full directory path to your footer.txt file. DO NOT include
# the footer.txt file in the path here, just the directories.
# $footer = "home/sites/home/web";
$footer = "";
# Edit the font colors of the text on the help and error screens that
# users will see. This is helpful if you add a background color or
# graphic.
$fontcolor = "#000000";
# Type the name of your organization, group, or company
$orgname = "Easyfinder Account Manager";
# Type an email address that customer/user can respond to
$orgmail = "support@xxxxxxxxxxxxxxxxx";
# Type a full path for a temp directory
# as well as store other temporary files
$tempdir = "home/sites/home/web/temp";
# Type the full path to your Mail program
$mailprog = "/usr/bin/sendmail";
# Here you can create the text message that the potential
# new members/user will receive in the email once they fill
# in your web form.
# Place the information in a text file
# and save the file as: email.txt
# Place the full path to the email.txt file (if any) here.
# DO NOT place the name of the file (email.txt) here, just
# the directory path where the file is kept.
$closing = "home/sites/home/web/info";
# This would be the subject of the e-mail your users will
# receive automatically once they have submitted their
# application.
$response_subject = "Application Received";
# If you use .htaccess or .nsconfig, use a "1", otherwise leave blank
# or set to "0". This is if you use a secure users area.
$htaccess = "1";
# If you entered "1" above, enter the full path to your
# htpasswd or .nsconfig file.
# Like this: $memaccess = "/home/sites/home/web/.htpasswd";
# This is the file that houses the usernames and encrypted passwords
# but is only needed if you use .htaccess or .nsconfig
$memaccess = "home/sites/home/web/.htpasswd";
# Type the full path to the directory that contains all the info
$memberinfo = "home/sites/home/web/info";
# If you are run the script and receive File Locking (flock)
# errors, remove the number 2 from between the quotes.
# Then it would appear: $LOCK_EX = "";
$LOCK_EX = "2";
# Give the full directory path where you would like your password.txt
# file to be saved. DO NOT include the name password.txt in the path
# here, just the directories. $passfile = "/full/path/to/directory";
$passfile = "home/sites/home/web/pass";
# Type the subject that will appear in the email customer/user
# receives
$subject = "Easyfinder Membership Information";
# Create two text files. One called "approved.txt" and the other
# called "denied.txt". In each, write the response that you would
# like your prospective members to receive when you have either
# approved or denied their application for membership, respectively.
# Then, upload both text files to your $memberinfo directory.
# The script will do the rest.
# Example, in the "approved.txt" file, you can type:
# "Your account is now active."
# Subject of email that is automatically sent to users that you
# chose not to accept in your Account Manager.
$denied_email_subject = "Easyfinder Application Denied";
# Subject for email that is automatically sent to users that you
# chose to accept in your Account Manager.
$approved_email_subject ="Easyfinder Application Approved";
# This is the e-mail Subject for the response that is sent back to
# you, the administrator, when a signup request is received.
$signupresponse = "Easyfinder Signup Request";
Regards
Stuart