perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Jennewein <...@cccmz.de>
Subject Unaltered cgi upload
Date Wed, 07 Feb 2007 23:49:23 GMT
Hi,

I want to change a cgi script to run with mod_perl, but I have a problem
with the DIE signal I used in an earlier version to clean the directory
if the user presses the stop button during the upload.

local $SIG{__DIE__} = \&cleanup;

But this doesn't work with mod_perl2 and apache2. How can I handle this
now?

And if something goes wrong with the upload a $cgi->redirect should send
the user to another page can I use this with mod_perl and the exit()
after the redirect doesn't work. The website told me that
ModPerl::Registry will overwrite the native exit() function but it
doesn't seems so. How can I fix this?

I'm using mod_perl 2.0.2 and apache 2.2.3 .

Thanks in advance 

Stephan

Mime
View raw message