in reply to Re: Re: Re: Apache and HTML::Mason::CGIHandler, Not being called?
in thread Apache and HTML::Mason::CGIHandler, Not being called?

Well, I just tried "install mod_perl" again (I have tried this method before) and this is the majority of the output:

Installing E:\Perl\site\lib\mod_perl_method_handlers.pod Installing E:\Perl\site\lib\mod_perl.pod Installing E:\Perl\site\lib\mod_perl_tuning.pod Installing E:\Perl\site\lib\mod_perl_traps.pod Installing E:\Perl\site\lib\mod_perl_hooks.pm Installing E:\Perl\site\lib\cgi_to_mod_perl.pod Installing E:\Perl\site\lib\.cvsignore Installing E:\Perl\site\lib\Apache.pm Installing E:\Perl\site\lib\Bundle\Apache.pm Installing E:\Perl\site\lib\Apache\Registry.pm Installing E:\Perl\site\lib\Apache\PerlSections.pm Installing E:\Perl\site\lib\Apache\PerlRun.pm Installing E:\Perl\site\lib\Apache\Debug.pm Installing E:\Perl\site\lib\Apache\MyConfig.pm Installing E:\Perl\site\lib\Apache\ExtUtils.pm Installing E:\Perl\site\lib\Apache\src.pm Installing E:\Perl\site\lib\Apache\Symdump.pm Installing E:\Perl\site\lib\Apache\Status.pm Installing E:\Perl\site\lib\Apache\RedirectLogFix.pm Installing E:\Perl\site\lib\Apache\Include.pm Installing E:\Perl\site\lib\Apache\StatINC.pm Installing E:\Perl\site\lib\Apache\RegistryBB.pm Installing E:\Perl\site\lib\Apache\test.pm Installing E:\Perl\site\lib\Apache\FakeRequest.pm Installing E:\Perl\site\lib\Apache\SizeLimit.pm Installing E:\Perl\site\lib\Apache\Resource.pm Installing E:\Perl\site\lib\Apache\RegistryNG.pm Installing E:\Perl\site\lib\Apache\httpd_conf.pm Installing E:\Perl\site\lib\Apache\.cvsignore Installing E:\Perl\site\lib\Apache\SIG.pm Installing E:\Perl\site\lib\Apache\Options.pm Installing E:\Perl\site\lib\Apache\fork.pm Installing E:\Perl\site\lib\Apache\Opcode.pm Installing E:\Perl\site\lib\Apache\RegistryLoader.pm Installing E:\Perl\site\lib\Apache\Connection.pm Installing E:\Perl\site\lib\Apache\Constants.pm Installing E:\Perl\site\lib\Apache\File.pm Installing E:\Perl\site\lib\Apache\Leak.pm Installing E:\Perl\site\lib\Apache\Log.pm Installing E:\Perl\site\lib\Apache\ModuleConfig.pm Installing E:\Perl\site\lib\Apache\PerlRunXS.pm Installing E:\Perl\site\lib\Apache\Server.pm Installing E:\Perl\site\lib\Apache\Symbol.pm Installing E:\Perl\site\lib\Apache\Table.pm Installing E:\Perl\site\lib\Apache\URI.pm Installing E:\Perl\site\lib\Apache\Util.pm Installing E:\Perl\site\lib\Apache\Constants\Exports.pm Writing E:\Perl\site\lib\auto\mod_perl\.packlist Successfully installed mod_perl version 1.27_01-dev in ActivePerl 5.6. +1.633. ppm:ActivePerl :*>

I'm *now* searching for a mod_perl.dll, but not finding one, so where should I look? (Used windows search for file...)



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

Flame ~ Lead Programmer: GMS | GMS

Replies are listed 'Best First'.
Re: Re(4)^2: Apache and HTML::Mason::CGIHandler, Not being called?
by rdfield (Priest) on Nov 01, 2002 at 09:20 UTC
    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

      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