Gossamer Forum
Home : Products : DBMan : Installation :

Can't get IIS4 to work with DBMAN

Quote Reply
Can't get IIS4 to work with DBMAN
I set up dbman on my desktop machine with win98 and pws before porting it over to IIS4 on a NT4 server. I have the cgi and pl extensions set up to C:\perl (where perl is installed), however I am getting the familiar error "DBMan encountered an internal error. Please enable debugging to view".

I have tried setting the $db_script_path to the absolute directory (ie. E:/site/cgi-bin/database/dbman) however it does nothing different. I have checked the permissions for the directory, however they are the same setup for my UBB directories.

Anyone care to guess what I'm missing? Here is my dbname.cfg
===================
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://sitename/database/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 . "/airport.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/airport.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 . "/airport.log";
# Full path and file name of the html routines.
require $db_script_path . "/airport.pl";


Quote Reply
Re: Can't get IIS4 to work with DBMAN In reply to
Hope this helps - quoting Mark from another post...
In Reply To:
The most common fix is the $db_script_path variable in db.cgi, set this to the full path of DBMan on your system (eg: c:\inetpub\cgi-bin\dbman or whatever)



Quote Reply
Re: Can't get IIS4 to work with DBMAN In reply to
Yep. Uh-huh. Surrre. That whuz it. Man, I seure wish dey inklude somm decent iis instruktions wheit dee-bee-man <grin>. Thanks Karen.

For setting up dbman on my linux server was a 'snap'. 30 minutes, it was up and configured. But for NT, ooooh-nooo. It's fussy. Had to map .pl and .cgi to C:\Perl, AND THEN, add special config settings to the db.cgi ;) There was nothing, I mean NOTHING, about ensuring .pl and .cgi extensions were mapped to Perl in the dbman install instructions.

Maybe I should write the manual for DBMAN for Microsoft's NT and PWS. Alex?

Ed

Quote Reply
Re: Can't get IIS4 to work with DBMAN In reply to
If you installed Perl properly, all your .cgi and .pl extensions should be immediately associated with Perl.

As long as you point DBMan in the right direction, you should have no problems.

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Can't get IIS4 to work with DBMAN In reply to
You would think that the new active perl installation would map pl and cgi, but it doesn't unfortunately. IIS4 needs the absoulte patch however PWS does not.

More interesting weirdness with Micro$oft.

E.