[EMAIL PROTECTED]:~$ apt-cache showpkg libapache2-mod-perl2 | head -n 3
    Package: libapache2-mod-perl2
    Versions:
    1.999.21-1(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_
main_binary-i386_Packages)(/var/lib/dpkg/status)
EW!
I'd recompile and update... using the unsupported API is going to drive you and 
us crazy.
    [EMAIL PROTECTED]:~$ perl -e 'print join("\n", @INC), "\n";'
if you stay on the old version of mp2, try
[EMAIL PROTECTED]:~$ perl -MApache2 -e 'print join("\n", @INC), "\n";'

    [EMAIL PROTECTED]:~$ perl -e 'use Apache2::ModPerl::MethodLookup;'
again on the old version, try
>     [EMAIL PROTECTED]:~$ perl -MApache2 -e 'ModPerl::MethodLookup;

    [EMAIL PROTECTED]:~$ perl -MApache2::ModPerl::MethodLookup -e print_method
content_type
close but not quite
>     [EMAIL PROTECTED]:~$ perl -MApache2 -MModPerl::MethodLookup -e 'print_method 
"content_type"'
The method call name is a string arugment to print_method.
I guess I'm missing libraries, or mine are out of date/ broken (?).
Out of date

Okay.  I'll be interested to hear your findings.
Well, based on your info above, they'd be the same.  I however, plan to 
recompile from source :
)

I downloaded and burned ISO's for FreeBSD 5.4, but my vintage hardware won't
boot the CD and segfaults when I insert the boot floppy the second time.  I
downloaded 4.11 ISO's just now, and will try those next.
What hardware are you using specifically?

You can check the supported list here:
http://www.freebsd.org/releases/5.4R/hardware.html

I should warn you 6.0 is weeks if not days from official release.

Any other suggestions/ comments/ recommendations?
Upgrade to the latest mp2 and httpd. i.e. 2.0.1 mp2 and 2.0.54 httpd



package Apache::Hello;
use strict;
use warnings;

use Apache::Constants qw(:common);
sub handler
{
    my $r = shift;

    my $retval = OK;            ##### optimistic
$r->content_type('text/html');
    $r->send_http_header;
    goto done if $r->header_only;
    my $host = $r->get_remote_host;
    $r->print(<<END);
> HTML
  done:
    return $retval;
}
1;

__END__

As written thats for mp1.

I ported this for you in the previous e-mail. That port is functionally 
equivalent in mp2.



--
END
------------------------------------------------------------
    What doesn't kill us can only make us stronger.
                Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
       http://www.liquidation.com
       http://www.uksurplus.com
       http://www.govliquidation.com
       http://www.gowholesale.com

Reply via email to