opensourcer has asked for the wisdom of the Perl Monks concerning the following question:
Apache server does'nt start and logs error "Can't load Perl module Optrack for server localhost:80, exiting...use Apache2::RequestRec;
------#!c:/Perl/bin package Optrack; use Apache2::RequestRec; use Apache2::Const; sub handler { my $r = shift; $r->content_type("text/html"); print "Hello World\n"; return Apache2::OK; } 1;
any suggestons ?#httpd.conf #PrelRequire Optrack PerlRequire Optrack <Location /Optrack> SetHandler perl-script PerlResponseHandler Optrack::handler </Location>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unable to load Apache2::RequestRec
by johngg (Canon) on Oct 05, 2006 at 13:39 UTC | |
by opensourcer (Monk) on Oct 05, 2006 at 18:06 UTC | |
|
Re: unable to load Apache2::RequestRec
by asz (Pilgrim) on Oct 05, 2006 at 20:39 UTC | |
by opensourcer (Monk) on Oct 06, 2006 at 06:23 UTC |