CGI.pm and ModPerl::Registry



My site has been humming along in blissful ignorance of the latest
Perl happenings for several years, running Perl 5.6.0, Apache 1.3, and
whatever version of mod_perl was current. I use CGI.pm to do request
parsing and response output, because the whole site used to be
<shudder> CGI scripts.

I'm in the process of upgrading to Perl 5.8.8, Apache 2.0, and
ModPerl::Registry, and CGI.pm v3.29.
Right now, all the redirects I do that follow POSTs are broken. They
produce status 200 instead of status 303 that I coded for. Any ideas
why or other advice?
Thanks very much.

Here's a stripped down bit of sample code:

my @headerargs = ('-cookie', $my_cookie) if $my_cookie;

my @redirargs =
('-Status', '303 See Other',
'-Location', $forward_url,
'-URL', $forward_url);

push (@headerargs, @redirargs);
print $cgi->header(@headerargs);

# print some text ...

exit();


-Steve
.



Relevant Pages

  • Undefined symbol: PL_perl_destruct_level after upgrading....
    ... "test upgrade" and all that):P ... Basically, I recently upgraded apache, mysql & php using http:// ... it seems that _somehow_ Perl 5.8.0 was ... installed on the Woody server I admin. ...
    (Debian-User)
  • Re: from elsewhere, an assembler
    ... PHP is a treat. ... The only problem I have with Perl at the moment, ... play with Perl I play inside a command prompt ... an annoyance I guess for using apache on windows... ...
    (alt.lang.asm)
  • Re: Advice: "The Right" authentication method
    ... > our ISP will use to set up their eMail accounts and web space. ... > Verify that users have supplied the correct password; and let the perl ... or do I implement an Apache module to ... they claim to be) and some form of secret. ...
    (freebsd-questions)
  • RE: apache13+mod_ssl portupgrade problem..
    ... from ports, it makes the port perl the active perl version. ... switches back to the system perl and everything goes wacky and apache ... Then deinstall and reinstall apache. ...
    (freebsd-questions)
  • cgi Ausgabe unvollständig
    ... Eine Perl cgi-App liest eine mysql-DB und gibt die Datensätze nach ... Apache error-log: ... Prev by Date: ... Next by Date: ...
    (de.comp.lang.perl.cgi)