develooper Front page | perl.libwww | Postings from December 2000

Re: MomSpider & Libwww-Perl libs

Thread Previous | Thread Next
From:
Roy T. Fielding
Date:
December 26, 2000 01:58
Subject:
Re: MomSpider & Libwww-Perl libs
Message ID:
20001226020248.A750@mana.ebuilt.com
> In the original install of libwww, I see referrences to Perl4 but not
> Perl5.  The original MomSpider is running on Perl5.  Have I downloaded the
> libwww tar file for Perl5 and this package is not compatable with
> MomSpider?  How do I download the latest libwww files needed for
> MomSpider?

MOMspider predates most Web software that can still be run today.
It was the original basis for libwww-perl and has no clue about Perl5
because none of the objectisms existed at that time.  If you want
the whole package, including the early libwww-perl library that you
are missing, get it from

   http://www.ics.uci.edu/pub/fielding/mom_lwp_97.tar.gz

and add the following patch:
========
--- wwwhttp.pl  Thu Jun 19 03:44:16 1997
+++ wwwhttp.pl  Tue Oct  6 12:56:18 1998
@@ -83,6 +83,7 @@
                                       # but is required for HTTP server root.
 
     $reqstr = "$method $object HTTP/1.0\015\012";
+    $reqstr .= "Host: $host\015\012";
     foreach $hd (keys(%headers))
     {
         if ($val = $headers{$hd})
========

I don't run it myself any more -- the Web is much bigger now than it was
in 1994, and MOMspider really needs to be updated to run on top of a
database rather than in memory.

....Roy

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About