Announcement

Collapse
No announcement yet.

Referrer.pl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Referrer.pl

    After a couple of unsuccessful attempts to get referrer.pl, I have decided to have yet another go.

    I have go further than before! Now I am stuck with the message:

    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


    Can't locate al000001.pm in @INC (@INC contains: C:/perl/lib C:/perl/site/lib .) at D:\Secure\Websites\Kandles\Website\cgi\referrer.pl line 4.

    on the web browser after I have opened a link.

    I have scoured the community pages, tried various things, but not come across this message in any other posts.

    Any ideas ..........please!

    #2
    Hi,

    Was referrer.pl modified in any way, if so what were the changes? That error is because the script is not executing correctly and it doesn't even when running the below link in a browser without any parameters...
    http://asp.kandles.co.uk/cgi/referrer.pl

    Regards,
    Robert.

    Comment


      #3
      Came to know that this is an old bug that happens on a windows server (IIS). Please edit referrer.pl and immediately after

      Code:
      #!NETQUOTEVAR:PERLPATH
      Put in the following

      Code:
      my $bFound = 0;
      my $sDir;
      foreach $sDir (@INC)
              {
              if ($sDir eq ".")
                      {
                      $bFound = 1;
                      last;
                      }
              }
      if (!$bFound)
              {
              push (@INC, ".");
              }
      
      push (@INC, "cgi-bin");
      Then do an update.

      Regards,
      Robert.

      Comment

      Working...
      X