|
Daniel: Thanks for your response. I am not sure the brand of web server I am using. It is through www.best.com -- they write it is "loosely based" on the NCSA server. I've corrected the code as you suggested. The only other significant occurrence of $ENV{'SCRIPT_NAME'} was in the setup.cgi script. The code reads as follows: # Compute hnbinURL from current directory. \$hnbinURL = "\$http\$ENV{SCRIPT_NAME}";
\$hnbinURL =~ s/[^\\\/]+\$//;
\$hnbinURL =~ s/\\\/\$//;
\$hnbinURL =~ s/\\\/SECURED\$//;
$hnbinFix
Unfortunately, I am not that familiar with Perl to decipher this code and what it is intended to do. My fear is that the the phrase "$ENV{SCRIPT_NAME}" is stored as part of the \$hnbinURL variable then \$hnbinURL is EVALed at various times throughout the program, coming up with different, faulty values everywhere. Hopefully, this is not the case. Could I simply replace this block with a hard coded assignment? (eg \$hnbinURL = "http://www.frontier-news.com/HyperNews/.scripts) Thanks for any help, Steven Peterson |
| Inline: | Outline: |
This forum is closed.
|
|