Re: htdig: patch for Retriever.cc


Joe R. Jah (jjah@cloud.ccsf.cc.ca.us)
Thu, 16 Apr 1998 13:57:28 -0700 (PDT)


On Thu, 16 Apr 1998, Steve Scott wrote:

> Date: Thu, 16 Apr 1998 16:34:27 -0400 (EDT)
> From: Steve Scott <sscott@uucom.com>
> To: htdig@sdsu.edu
> Cc: Steve Scott <sscott@bman.uucom.com>
> Subject: htdig: patch for Retriever.cc
>
> I tried to apply the patch for Retriever.cc and I get a compile error trying
> to compile here is the error message:
> Retriever.cc:427: Undefined symbol _IsLocal referenced from text segment
> make[1]: *** [htdig] Error 1
> I say another person with the same problem who posted a message in March. Is there
> a fix to the patch?
> Thank you.
> Steve Scott

This patch requires Pasi Eronen's Patches for local home directories
for 3.07 which was not carried over to 3.08b:
_______________________________________________________________________
Date: Tue, 5 Aug 1997 16:53:35 +0300 (EEST)
From: Pasi Eronen <pe@iki.fi>
To: HTDig mailing list <htdig@sdsu.edu>
Subject: htdig: Patches for local home directories

Hi!

Few days ago, I posted patches for local filesystem access
to HTDig. Since then, I've received a request for supporting
user home directory URLs (like http://www.my.com/~user/foo.html),
and made a patch for that, too.

The syntax of the new configuration file option is:

  local_user_urls: prefix1=[path1],dir1 ...

If you leave the "path" part out, it looks up the user's home
directory in /etc/passwd (or NIS or whatever). For example,
to map "http://www.my.org/~joe/foo/bar.html" to
"/home/joe/www/foo/bar.html" you would say:

  local_user_urls: http://www.my.org/=/home/,/www/

The default behaviour of many WWW servers is approximately:

  local_user_urls: http://www.my.org/=,/public_html/

(NOTE: All the slashes in these examples are REQUIRED!)

This patch is a bit large, so I won't post it here. Instead,
it's available from <http://www.iki.fi/pe/htdig/>. I'm not
indexing any home directories myself, so comments are very
welcome. (Tip: you can see what local filename it's trying
to use if you specify options '-v -v' to htdig.)

Thanks to Geoff Hutchison for testing this patch.

Best regards,
Pasi

---
Pasi Eronen <pe@iki.fi>, +358-50-5123499
_________________________________________________________________

Joe

_/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jjah@cloud.ccsf.cc.ca.us

---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to htdig-request@sdsu.edu containing the single word "unsubscribe" in the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:26:01 PST