On Wed, 20 Mar 2002, Vuillemot, Ward W wrote: > I tried the code. Still nothing. I did turn On PerlWarn in httpd.conf. > Upon restart I saw the following: > > <errorlog> > [Wed Mar 20 07:55:19 2002] [info] master_main: Restart event signaled. Doing > a graceful restart. > defined(@array) is deprecated at C:/Perl/site/lib/Apache/DBI.pm line 135. > (Maybe you should just omit the defined()?) > [Wed Mar 20 07:55:21 2002] [info] Parent: Created child process 2936 > [Wed Mar 20 07:55:21 2002] [info] Parent: Duplicating socket 244 and sending > it to child process 2936 > [Wed Mar 20 07:55:22 2002] [info] BytesRead = 372 WSAProtocolInfo = 2006620 > [Wed Mar 20 07:55:26 2002] nul: Use of uninitialized value in subroutine > entry at C:/Perl/site/lib/Apache.pm line 61. > </errorlog> > > I am not sure where the Apache::DBI error crept in, but I believe it is > unrelated. As for line 61 of Apache, I do not know if this is a warning I > can ignore or not. > Also, as for not using parse() -- it was my understanding it was not > necessary to call explicitly, however you could use the status to provide > some error catching. . . > > Is there a bare-bones httpd.conf file I can use to run mod_perl? I am > presuming it is my configuration of Apache that might be causing problems. > > I have the latest mod_perl, apache modules, and apache that I am aware of. > > completely befuddled now. :| > > Thanks, > Ward
That is strange ... Does a simple mod_perl handler that, eg, just says "hello" work? What about a simple form that uses Apache::Request to process? You might also verify that you are running the latest version of mod_perl and, especially, libapreq. Are you running on Win32? We have the latest libapreq ppm package for this under http://theoryx5.uwinnipeg.ca/ppmpackages/ - maybe try this if you weren't using it before. The configuration I used for the Apache/testUpload.pm file I sent was just, in the appropriate places, LoadModule perl_module modules/mod_perl.so and, after "ClearModuleList" (you may not have this), AddModule mod_perl.c as well as the specific ones for testUpload: PerlModule Apache::testUpload <Location /testUpload> SetHandler perl-script PerlHandler Apache::testUpload PerlSendHeader Off </Location> best regards, randy kobes