If your using ntformmail.pl to process a form and send emails and the redirect page is not working and instead displays this:

Location: URL of redirect page.

You will need to modify the ntformmail.pl script slightly. This is caused by not having the correct header returned to the script which some PERL compliers, including ours sometimes do.

1. In the ntformmail.pl script, find the following Line:

# If redirect option is used, print the redirectional location header. #
if ($Config{'redirect'}) {
print "Location: $Config{'redirect'}\n\n";
}

2. Add the following line above the "print "location" line:

print "Status: 302 Found\n";

It should look like this when done:

# If redirect option is used, print the redirectional location header. #
if ($Config{'redirect'}) {
print "Status: 302 Found\n";
print "Location: $Config{'redirect'}\n\n";
}

That will get your redirect working.