in reply to Re(4)^2: Apache and HTML::Mason::CGIHandler, Not being called?
in thread Apache and HTML::Mason::CGIHandler, Not being called?

Apologies: the file is called mod_perl.so. If it's not in your <apache>/modules directory (where it should be:) you'll have to manually extract it from the ppm archive (at an address something like: http://theoryx5.uwinnipeg.ca/ppmpackages/x86/mod_perl.tar.gz) and place it in the <apache>/modules directory. There are other mod_perl binaries in that location, so you may have to pick the apache version relevent to your installation (e.g. mod_perl-1.26_1.3.20.tar.gz or whatever).

rdfield

  • Comment on Re: Re(4)^2: Apache and HTML::Mason::CGIHandler, Not being called?
  • Download Code

Replies are listed 'Best First'.
Re(6): Apache and HTML::Mason::CGIHandler, Not being called?
by Flame (Deacon) on Nov 01, 2002 at 12:58 UTC
    Ok, once I've moved mod_perl.so into position, what do I need to do to enable it? I see no settings commented out in the settings file for mod_perl (just about every other mod_ you can imagine, but not mod_perl)

    Thanks for all this help, youre a life-saver (take that however you choose, if you wish to be candy, so be it)



    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS | GMS

      In the httpd.conf file there will be a whole bunch of commented-out lines that start:
      #LoadModule foo_module modules/mod_foo.so
      where foo is something like proxy, digest, usertrack etc. At the end of this list add the line:
      LoadModule perl_module modules/mod_perl.so
      In the section after that you'll see something like:
      ClearModuleList ... AddModule mod_foo.c ...
      add the following line to the end of the list:
      AddModule mod_perl.c
      Note: the capitalisation is important. You should have a working mod_perl installation after this.

      When your Apache server starts you should see somthing like:

      Apache/1.3.26 (Win32) mod_perl/1.27_01-dev running...
      I'll update my original instructions appropriately so that the next monk who wanders along with a mod_perl/win32 install problem doesn't have to go through all of your frustrations.

      BTW, you're welcome.

      rdfield

        Apache/1.3.27 (Win32) mod_perl/1.27_01-dev running...

        Sweet!!! Thanks! IT FINALLY WORKS! ok... thats enough... (/me calms down) Now I can finally continue that project.

        *rdfield++; # For all your patience





        My code doesn't have bugs, it just develops random features.

        Flame ~ Lead Programmer: GMS | GMS