Loading ...
Sorry, an error occurred while loading the content.

65371Help Installing Apache Handlers(.pm files)

Expand Messages
  • Somik Behera
    Jun 3, 2005
    • 0 Attachment
      hey guys,

      I am having trouble installing Apache handlers, was wondering if anybody =
      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

      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
      #PerlRequire /bin/startup.pl

      #PerlModule Apache2::Hello
      <Location /hello>
      SetHandler modperl
      PerlResponseHandler Apache2::Hello

      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] 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 =
      have of how to Install perl modules(aka Apache Handlers, .pm) on apache.


    • Show all 2 messages in this topic