Gossamer Forum
Home : Products : DBMan : Discussions :

repeating in URL?

Quote Reply
repeating in URL?
i am using JPDeni's to do this, and I have done MUCH better than I ever thought I would. I have everything working, except when I try to login at:
http://cerinamroth.netfirms.com/cgi-bin/dbman/db.cgi
it will take me to:
http://cerinamroth.netfirms.com/...cgi-bin/dbman/db.cgi
How do I get rid of that repeat in the redirecting URL? I can't find anything about it Crazy Unsure
Quote Reply
Re: [Reyhan] repeating in URL? In reply to
Check your default.cfg file it should look like this:

Code:
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://cerinamroth.netfirms.com/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";

See if it that helps... I've had the "duplicating" thing happen to me once before, but I really don't remember what the culprit was.
Quote Reply
Re: [Reyhan] repeating in URL? In reply to
If you were using a link on a page (not typing the link into the address bar)

and the page was located inside cgi-bin/dbman,

and that link had the full path but did NOT start with http://

then that would be the result.

So try the link in the address bar?