I've setup htdig 3.2.0b6 and 3.1.6 on both Solaris 8 and Redhat 9 trying to get use_doc_date to work with my CGI scripts that output HTML. I've applied the recommended patch to the 3.1.6 as described here: http://www.htdig.org/mail/2000/04/0156.html

I've been going nuts for two days and must be missing something simple or possibly misunderstanding the function of use_doc_date.

In my htdig.conf file I have the following lines:
# use meta date to determine a new page
use_doc_date: true

Within the head of each of the pages indexed I have something like this:
<META NAME="Date" CONTENT="2005-02-16">

I've tried using META name dc.date, dc.date.created and dc.date.modified. I've also tried dates in the format YYYYMMDD, YYMMDD, YYYY-MM-DD HH:MM:SS, YYYY MM DD, etc....

Running curl --head on the pages I'm indexing tells me that apache sets the mod date to now:
HTTP/1.1 200 OK
Date: Thu, 17 Feb 2005 00:48:58 GMT
Server: Apache/1.3.29 (Unix) mod_perl/1.29
Content-Type: text/html
X-Cache: MISS from nbcmv4.console.net


Thanks in advance!
-Chuck



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to