in reply to Strange Problem

First I might suggest the CGI Help Guide. Next if you can get a command line prompt (you say you can) do a ls /path/to/your/script/cgi-bin/ Obviously you should see your script. The apache httpd.conf file maps my.domain.com/cgi-bin/ to a real directory on your server like /usr/home/your/cgi-bin/ - if this mapping is wrong your script will obviously not be found.

The error at line 115 means you have something like:

my $undef_variable; print "This will generate a undefined variable used in eq warning" if $undef_variable eq "Oops forgot to define this";

The next bit "Status 302 moved...." is the headers your script is outputing. Because you have an error message before this you will get a 500 internal server error as you are not outputting a valid header (until after this error)

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: Strange Problem
by rinceWind (Monsignor) on Feb 12, 2002 at 14:10 UTC

    You might like to try adding the following, which I put in CGI scripts:

    <code> use CGI::carp qw(fatalsToBrowser); <code>

    This now produces sensible messages on the browser.

      I think you mis-typed that a little:

      use CGI::Carp qw(fatalsToBrowser);

      "Carp" would need to have an upper-case "C".
      --

        Agreed. This was a combination of finger fatigue and too much exposure to operating systems that are case insensitive.

        still... I'm not being paid to do Unix ATM.

        R.