"Vuillemot, Ward W" wrote:
> 
> Here is the Apache config
> PerlModule testUpload
> <Location /testUpload>
>   SetHandler perl-script
>   PerlHandler testUpload
>   PerlSendHeader Off
>   # limit POSTS so that they get processed properly
>   <Limit POST>
>     PerlInitHandler POST2GET
>   </Limit>
> </Location>
> 

Hi Ward,

assumed, you have seen the example from

http://perl.apache.org/guide/snippets.html#Reusing_Data_from_POST_request

and you have written your own POST2GET.pm, more questions are arising:

Is POST2GET.pm loaded anywhere - in a startup.pl or via httpd.conf?

Some more hints:

Add 'use warnings;' to your code and look at your error_log.
CGI.pm should be loaded AND compiled very early.
Be careful with global vars under mod_perl.
Look in CPAN to avoid reinventing the wheel:
http://search.cpan.org/search?mode=module&query=upload

Ernest



-- 

*********************************************************************
* VIRTUALITAS Inc.               *                                  *
*                                *                                  *
* European Consultant Office     *      http://www.virtualitas.net  *
* Internationales Handelszentrum *   contact:Ernest Lergon          *
* Friedrichstraße 95             *    mailto:[EMAIL PROTECTED] *
* 10117 Berlin / Germany         *       ums:+49180528132130266     *
*********************************************************************

Reply via email to