Gossamer Forum
Home : Products : DBMan : Installation :

Help w/ install

Quote Reply
Help w/ install
I'm able to get the Database Manager Demo at http://www.enetwerk.com/cgi-bin/dbman/db.cgi
but when I use one of the demo log-ins its directed to http://server/cgi-bin/dbman/db.cgi
I've searched all of the files for this URL in order to change it, but I cant find it and I dont know if thats even the problem
I have it configured as follows:

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.enetwerk.com/cgi-bin/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "http://www.enetwerk.com/cgi-bin/dbman/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/data1/hypermart.net/enetwerk/cgi-bin/dbman/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/data1/hypermart.net/enetwerk/cgi-bin/dbman/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/data1/hypermart.net/enetwerk/cgi-bin/dbman/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/data1/hypermart.net/enetwerk/cgi-bin/dbman/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/data1/hypermart.net/enetwerk/cgi-bin/dbman/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/data1/hypermart.net/enetwerk/cgi-bin/dbman/html.pl";





Your help is greatly appreciated!!
Quote Reply
Re: Help w/ install In reply to
What the heck is the db.cfg file? Are you using the SQL version???

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: Help w/ install In reply to
You have the configurations ALL wrong. BTW: This has been discussed before MANY times in this Forum and I posted similar configurations for another user two weeks ago. Please try to use the search feature in this Forum.

Wink

Anyway...Your configurations should look like the following:

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

THEN your $db_script_path in your db.cgi file should look like the following:

Code:
$db_script_path = "/data1/hypermart.net/enetwerk/cgi-bin/dbman";

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: Help w/ install In reply to
Elliot, thanks for your help, unfortunately it still doesnt work. I had previously tried the config file the way mentioned-it didnt work then...still doesnt. The cgi was configured correctly. The config file is now:


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


The cgi file is:
# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "/data1/hypermart.net/enetwerk/cgi-bin/dbman";

Thanks in advance, I realize theres nothing more frustrating that explaining the simplest concept to a novice.

Quote Reply
Re: Help w/ install In reply to
Nevermind Eliot, I figured it out. I was only changing the db.dfg file, not the default.cfg file...didnt realize I had to change both. Thank you.
Quote Reply
Re: Help w/ install In reply to
Eliot, I'm using the UNIX version. I must have accidently renamed the the default.cfg file at some point...I dont know how or when, but I must have. It obviously works alot better now. Now I'm off to configuration land.
Thanks for your help!
Quote Reply
Re: Help w/ install In reply to
Good luck.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------