Gossamer Forum
Home : Products : DBMan : Installation :

installation

Quote Reply
installation
Hi,

Basic Configuration Information

Your path to Perl is correct.
Your server is running Perl version: 5.00503

Your domain name is: gak.cyspace.cc

The complete system path to this script is:
/host/g/a/k/c/y/s/gak.cyspace.cc/cgi-bin/tester.cgi

The URL of this script is:
http://gak.cyspace.cc/cgi-bin/tester.cgi

The RELATIVE URL of this script is:
/cgi-bin/tester.cgi

Your server consists of:
Apache/1.3.14 (Unix) PHP/4.0.0

Path to current directory: /user8/gak/cgi-bin

These are my webserver's information. Can I get working dbman with these information?

Here are the variables from the "db.cgi" script:

# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = ".";

Please post back, what i have to place here!

these are the variables of default cfg:

# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://penguin/alex/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";

Please post back, what i have to place here!

Is this demo script working, when all these variables above are filled out right? Or have I forgot some things to list here!

thanks for your help and excuse my english!

Quote Reply
Re: installation In reply to
If you have uploaded the files into a folder named dbman inside your cgi-bin, the following changes should be the only thing needed after permissions are set:

# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://gak.cyspace.cc/cgi-bin/dbman";

And, you would compare the very first line of db.cgi and make sure it has the same thing as the very first line of the "test.cgi" script you ran to get those variables. Should look something like:

#!/usr/local/bin/perl

Good luck!





Quote Reply
Re: installation In reply to
thank you for your fast reply.

You descriped what to change in the "db".cgi, but what should I put in the "default.cfg"

http://members.newsclub.at/gak1
Quote Reply
Re: installation In reply to
This portion of my reply indicated the change you need to make in default.cfg:

# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://gak.cyspace.cc/cgi-bin/dbman";



Quote Reply
Re: installation In reply to
What means:
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";

Here is not the URL to type in, or?
Is it maybe: /host/g/a/k/c/y/s/gak.cyspace.cc/cgi-bin/dbman/default.db
or
/user8/gak/cgi-bin/dbman/default.db


http://members.newsclub.at/gak1
Quote Reply
Re: installation In reply to
No, you only make a change to that line I indicated. After that, the scripts find the other files on their own. You do not change nything on those other paths.