in reply to Re: calling a html file from a perl script
in thread calling a html file from a perl script

the second approach is a good approach, but doesn't it require a
print "Status: 302 Moved Temporarily\n";
at the top. Maybe not, but I've always used it that way, and seen it that way...

                - Ant

Replies are listed 'Best First'.
Re: Re: Re: calling a html file from a perl script
by merlyn (Sage) on Jul 21, 2001 at 02:38 UTC
    Apache will notice the "Location:" and change the status to 302. Inferior web servers may require additional handholding.

    -- Randal L. Schwartz, Perl hacker