Okay, here's the 411 -- I downloaded this script "as is" which means sans readme files. Thinking hey, I know a little something something about CGI, I thought I'd give it a whirl. Only I get that dreaded 500 Internal Server Error page when I try to execute it from my browser.
Looking at my error logs, the root of the problem (no pun intended) seems to be that the script is looking for files that I'm either linking to wrong or which simply don't exist. This is possible -- remember, it was a WYSIWYG script with no demo and no support. The script draws to a stop at this line:
Now, I'm not familiar enough with CGI to know what this is referring to. Right after it, though, are these variables:
my $MAN_PATH = "/users/dovl/local/man";
my $MAN_PAGE = "/mandovl/diamondMine.dovl";
my $MAN_VIEWER = "/usr/dt/bin/dthelpview";
my $LIB_PATH = "/usr/bin/perl/lib";
To be honest, I don't think any of them are right. Is there anyone out there who might be kind enough to point me in the right direction? The name of the script is diamondmine. The original file can be found here:
My non-working version is here:
Much thanks to any who read this, even if you can't help. At least you tried!
"I thought I'd live forever, but now I'm not so sure."