Donnie you haven't shown us any of your code yet, but perhaps you're getting the "Internal Server Error" because the script you're redirecting to doesn't print out the required http header itself?
For example:
#!/usr/local/bin/perl -w
##### file1.cgi
use CGI;
use strict;
my $q = new CGI;
print $q->redirect( -uri => 'file2.cgi' );
exit;
##### cut here #####
#!/usr/local/bin/perl -w
##### file2.cgi
print "foo";
exit;
will cause an internal server error because we're not printing out the required HTTP header. Our webserver doesn't care what script prints out that header, but it does expect that it'll be printed out before anything else is. If we change file2.cgi to be:
#!/usr/local/bin/perl -w
##### file2.cgi
use CGI;
use strict;
my $cgi = new CGI;
print $cgi->header();
print "foo";
exit;
we don't get any error.
Perhaps that is something you need to check.
jarich |