dougm       02/04/06 20:05:07

  Modified:    examples/lib/Apache HelloWorld.pm
  Log:
  fix example, add more config
  
  Revision  Changes    Path
  1.4       +10 -3     modperl-2.0/examples/lib/Apache/HelloWorld.pm
  
  Index: HelloWorld.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/examples/lib/Apache/HelloWorld.pm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HelloWorld.pm     6 Apr 2002 03:18:22 -0000       1.3
  +++ HelloWorld.pm     7 Apr 2002 04:05:07 -0000       1.4
  @@ -1,8 +1,15 @@
   package Apache::HelloWorld;
   
  +#LoadModule perl_module modules/mod_perl.so
  +#PerlSwitches -Mlib=modperl-2.0/examples/lib
  +
  +##optional
  +#PerlModule Apache2
  +#PerlModule Apache::compat
  +
   #<Location /hello-world>
  -#  SetHandler modperl
  -#  PerlResponseHandler Apache::HelloWorld
  +#    SetHandler modperl
  +#    PerlResponseHandler Apache::HelloWorld
   #</Location>
   
   use strict;
  @@ -19,7 +26,7 @@
   
       $r->puts(__PACKAGE__); #print not yet implemented
   
  -    return OK;
  +    return Apache::OK;
   }
   
   1;
  
  
  


Reply via email to