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
signature.asc
Description: This is a digitally signed message part