According to Luc Marent:
> Oke I use now
> 
>http://imecwww/cgi-bin/cgiwrap/~tcit/htsearch?method=and&config=portal&format=long&sort=score&words=*&startyear=2002&startmonth=05&startday=22
> 
> and it gives a result.
> 
> But what I see is that the date of all my documents is the same....
> It is not the date of the file it was last modified on the system.
> 
> Any idea why? We use server side includes....

That's the problem exactly.  Any dynamic content (SSI, CGI, PHP, ASP, JSP,
CFM, etc.) is just that - dynamic.  That means it's generated on the fly,
when requested, and it can potentially change each time it's requested.
Most of the time, dynamic web pages don't issue a Last-Modified HTTP
header, so htdig assumes the current time by default.  There are tricks
to get dynamic pages to issue Last-Modified headers, but they're not
commonly used.  According to Torsten Neuer, you should be able to add
a line like

  <!--#flastmod file="$DOCUMENT_NAME" -->

at the very start of an SSI file to force it to output a Last-Modified
header.  I've never tried this myself.  See the thread "Last modified
date revisited - Apache" for more details:

  http://www.htdig.org/mail/2000/10/index.html#17

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to