I have been reading posts all day on this forum and you guys are extremely helpful, but after trying everything I can think of, after logging in as admin/admin, I always get a 404 - File not found error.
I have tried changing the $db_script_path a number of times, to no avail. When I set it to "." I at least get the login screen to appear. I will attach my current default.cfg at the bottom of this message.
The address of my database is http://cyberbuzz.gatech.edu/cgi-bin/cgiwrap/tke/dbman/db.cgi
I know that my permissions are set correctly and that I've uploaded in ASCII.
The only thing that I can think of is that I need to change the $db_script_path variable. I am running on an Apache server at a university and for protection, the server is set up to redirect all of the scripts to a special run-time environment. In other words my scrips are located in the /cgi-bin/dbman directory, but to hit them from the web I need to go to /cgi-bin/cgiwrap/tke/dbman directory.
I'd really appreciate any help. I've been working on this for 2 days and really just want to get the demo to work.
Thank you in advance,
Eric Smith
# =====================================================================
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url =
"http://www.cyberbuzz.gatech.edu/tke/cgi-bin/cgiwrap/tke/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 tried changing the $db_script_path a number of times, to no avail. When I set it to "." I at least get the login screen to appear. I will attach my current default.cfg at the bottom of this message.
The address of my database is http://cyberbuzz.gatech.edu/cgi-bin/cgiwrap/tke/dbman/db.cgi
I know that my permissions are set correctly and that I've uploaded in ASCII.
The only thing that I can think of is that I need to change the $db_script_path variable. I am running on an Apache server at a university and for protection, the server is set up to redirect all of the scripts to a special run-time environment. In other words my scrips are located in the /cgi-bin/dbman directory, but to hit them from the web I need to go to /cgi-bin/cgiwrap/tke/dbman directory.
I'd really appreciate any help. I've been working on this for 2 days and really just want to get the demo to work.
Thank you in advance,
Eric Smith
# =====================================================================
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url =
"http://www.cyberbuzz.gatech.edu/tke/cgi-bin/cgiwrap/tke/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";
=====================================================================