I am not able to open the demo database on my ISP's server. He upgraded perl from 5.002 to 5.005 and other scripts seem to run just fine.
I think it is me and the configuration that I am missing something. So, here is what I have done:
*****************************************************
db.cgi looks like this:
# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "http://www.apepart.net/cgi-bin/dbman";
# Load the form information and set the config file and userid.
local(%in) = &parse_form;
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
$in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = '');
# Required Librariers
******************************************************
I have got db.cgi pointed to perl in the first line:
#!/usr/local/bin/perl
********************************************************
default.cfg LOOKS LIKE THIS:
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.apepart.net/cgi-bin/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";
**************************************************************
I have copied these over as ASCII and checked the rights and
matched them as with the install instructions:
db.cgi (755) -rwxr-xr-x
html.pl (644) -rw-r--r--
auth.pl (644) -rw-r--r--
default.cfg (644) -rw-r--r--
default.pass (666) -rw-rw-rw-
default.count (666) -rw-rw-rw-
default.log (666) -rw-rw-rw-
default.db (666) -rw-rw-rw
auth (777) drwxrwxrwx
I have also included the directory as well. These are the only
modifications that I have made.
The error message is:
Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
I think it is me and the configuration that I am missing something. So, here is what I have done:
*****************************************************
db.cgi looks like this:
# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "http://www.apepart.net/cgi-bin/dbman";
# Load the form information and set the config file and userid.
local(%in) = &parse_form;
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
$in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = '');
# Required Librariers
******************************************************
I have got db.cgi pointed to perl in the first line:
#!/usr/local/bin/perl
********************************************************
default.cfg LOOKS LIKE THIS:
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.apepart.net/cgi-bin/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";
**************************************************************
I have copied these over as ASCII and checked the rights and
matched them as with the install instructions:
db.cgi (755) -rwxr-xr-x
html.pl (644) -rw-r--r--
auth.pl (644) -rw-r--r--
default.cfg (644) -rw-r--r--
default.pass (666) -rw-rw-rw-
default.count (666) -rw-rw-rw-
default.log (666) -rw-rw-rw-
default.db (666) -rw-rw-rw
auth (777) drwxrwxrwx
I have also included the directory as well. These are the only
modifications that I have made.
The error message is:
Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.