Gossamer Forum
Home : Products : DBMan : Installation :

Another login screen to 404 - File not found error

Quote Reply
Another login screen to 404 - File not found error
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";
=====================================================================


Quote Reply
Re: Another login screen to 404 - File not found error In reply to
I tried accessing your site by going to http://www.cyberbuzz.gatech.edu/...rap/tke/dbman/db.cgi. I got a 404 error. That means that the url is incorrect as you have defined it in $db_dir_url in your .cfg file.

I also tried going to http://www.cyberbuzz.gatech.edu/...cgi-bin/dbman/db.cgi, just to see what happened and I got a "Forbidden" message. Which indicates the file is there, but the permissions are not set correctly.


JPD
Quote Reply
Re: Another login screen to 404 - File not found error In reply to
Thank you for your quick response!

The URL that you want to hit is the following: http://www.cyberbuzz.gatech.edu/cgi-bin/cgiwrap/tke/dbman/db.cgi

You had an extra "/tke/" directory in the one you were trying to hit.

Quote Reply
Re: Another login screen to 404 - File not found error In reply to
Well, you have an extra /tke/" directory in your $db_dir_url in your .cfg file.


JPD
Quote Reply
Re: Another login screen to 404 - File not found error In reply to
Thank you very much for pointing that out :) I set that a while ago and just assumed that it was right. If you want to send the Moron Of The Day Award my way, just let me know.

I am now past that and can see the main menu.

You are a very kind and patient person for replying to all of these messages. Thank you.

-Eric


Quote Reply
Re: Another login screen to 404 - File not found error In reply to
Laugh Well, we all make this kind of mistake once in a while. Sometimes it takes someone else to locate the error.


JPD