Gossamer Forum
Home : Products : DBMan : Installation :

Help needed basic install

Quote Reply
Help needed basic install
if i do not have cgi-bin, but rather a cgi-local, and my folder with db is cgi-local/folder, why is this not working.

also, my isp (verio) has certain path requirements. http://home.verio.net/support/hosting/cgi_scripts.cfm.

i am a beginner, and having trouble. read previous postings & suggest this should work.

# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.domain.com/cgi-local/folder";
# 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: Help needed basic install In reply to
Hi easyinstall, it doesn't appear verio has any unusual instructions for the use of cgi scripts.

You haven't indicated what error messages (if any) you are receiving when you attempt to access the scripts. Since we have just the snippet from default.cfg to work with, all I can do is ask whether you've made sure you have the correct domain.com and /folder names in this line:
$db_dir_url = "http://www.domain.com/cgi-local/folder";

Please indicate what the actual error is and if possible, save your default.cfg file as a text file (default.cfg.txt) and upload it to an area of your server which can be accessed via the web.



Quote Reply
Re: Help needed basic install In reply to
I forgot to point out too - doublecheck the first line on the scripts. Verio indicates this is the correct path to perl on your account:
#!/usr/local/bin/perl

Make sure that any of the scripts which have the perl path (sorry, don't recall which ones nor what the default path is in the scripts) listed have the correct path.


Quote Reply
Re: Thanks Karen! In reply to
Instead of using the URL, I used the IP address of the server in the CFG file. I also used ASCII mode to FTP the file and reset CHMOD. . . ok, I'm learning, but dbman likes me now.

Thank you very much Karen for your quick response! Sorry about the incomplete info. It was helpful to know I was on the right track. All of the files extracted from the dbman zip file use /local/bin/perl/.