Re: Help Installing Apache Handlers(.pm files)
[prev]
[thread]
[next]
[Date index for 2005/06/04]
On Fri, 3 Jun 2005, Somik Behera wrote:
> hey guys,
>
> I am having trouble installing Apache handlers, was wondering if anybody =
> has
> any suggestions.
>
> Platform: Win XP/Apache2.0/mod_perl 1.99
>
> this is the config I have in Apache's httpd.conf file for Installing
> handlers.
>
> LoadFile "c:/Perl/bin/perl58.dll"
>
>
> LoadModule perl_module modules/mod_perl.so
>
> Alias /perl/ "/Apache2/perl/"
> <Location /perl>
> SetHandler perl-script
> PerlResponseHandler ModPerl::Registry
> Options +ExecCGI
> PerlOptions +ParseHeaders
> </Location>
> #PerlRequire /bin/startup.pl
>
> #PerlModule Apache2::Hello
> <Location /hello>
> SetHandler modperl
> PerlResponseHandler Apache2::Hello
> </Location>
>
> this is the error in apache error logs when i use PerlRequire:
> [Fri Jun 03 16:22:18 2005] [error] Can't load Perl file:
> /bin/startup.pl for server sbehera-win1:80, exiting...\n
>
> and when I use PerlModule i get this error:
> [Fri Jun 03 15:46:23 2005] [error] [client 10.17.166.231] Can't locate
> Apache2/Hello.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .
> C:/Program Files/Apache Group/Apache2/ C:/Program Files/Apache
> Group/Apache2/lib/perl) at (eval 1) line 3.\n
>
>
> Any help would be great, please let me know of any other suggestion you =
> might
> have of how to Install perl modules(aka Apache Handlers, .pm) on apache.
Those errors just mean that the files aren't on your system
http://perl.apache.org/docs/2.0/os/win32/config.html
has some examples along these lines.
--
best regards,
randy kobes
 |
 |
Re: Help Installing Apache Handlers(.pm files)
Randy Kobes 04:09 on 04 Jun 2005
|