Hi,

I have installed apache server on windows98 with modperl
and apache::asp module, but I can't make it working.

I have put this in httpd.conf:

<Files *.asp>
   SetHandler perl-script
   PerlHandler Apache::ASP
   PerlSetVar Global C:/Windows/temp
   PerlSetVar CookiePath /
   PerlSetVar AllowSessionState 1
   PerlSetVar SessionTimeout 20
   PerlSetVar Debug 2
   PerlSetVar BufferingOn 1
   PerlSetVar StatINC 1
   PerlSetVar SessionSerialize 0
   PerlSetVar SoftRedirect 0
   PerlSetVar NoState 0
   PerlSetVar StateDir ./.state
   PerlSetVar StateManager 10
</Files>


When I try to run in my browser an ASP page I
get an internal error (500) and this is the error.log:


[Mon Nov 26 03:39:00 2001] [error] Can't call method "FETCH" on an undefined
value at /apache/lib/perl/MLDBM/Sync.pm line 86.
 MLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x114a1f8)', 'application') called
at D:/Perl/site/lib/Apache/ASP.pm line 5221
 Apache::ASP::State::FETCH('Apache::ASP::State=HASH(0x114b36c)',
'application') called at D:/Perl/site/lib/Apache/ASP.pm line 4954
 Apache::ASP::State::new('Apache::ASP=HASH(0x114bf48)', 'application',
'server') called at D:/Perl/site/lib/Apache/ASP.pm line 5208
 Apache::ASP::State::TIEHASH('Apache::ASP::State',
'Apache::ASP=HASH(0x114bf48)', 'application', 'server') called at
D:/Perl/site/lib/Apache/ASP.pm line 4530
 Apache::ASP::Application::new('Apache::ASP=HASH(0x114bf48)') called at
D:/Perl/site/lib/Apache/ASP.pm line 563
 Apache::ASP::new('Apache::ASP', 'Apache=SCALAR(0x140e638)') called at
D:/Perl/site/lib/Apache/ASP.pm line 148
 Apache::ASP::handler('Apache=SCALAR(0x140e638)') called at nul line 0
 eval {...} called at nul line 0



Could anyone help me?

Thanks in advance.


--
G.d'A.



P.S.:
before I got another error too:
"flock() unimplemented on this platform at /apache/lib/perl/
MLDBM/Sync.pm line xxx"
but I commented out some lines in sync.pm and so I fixed that.
Anyway, since I have read on the documentation that it is possible to
"disable use of flock() on Win95/98 where it is unimplemented"
I'd want to know how I can do this (instead of commenting out).



Reply via email to