According to Philippe Carbonnier: > Malcolm Austen a �crit : > > On Tue, 28 May 2002, Philippe Carbonnier wrote: > > + the problem : htdig can't index a file with .T suffix (Ex: a.T) ! > > > > Isn't the problem really, "htdig can't index the content-type being > > returned by your server for that .T filetype" ... as it's on your intranet > > I guess only you will be able to check out the content-type to see > > whether it's one that your htdig configuration can cope with. ... > Right ! the /etc/mime.conf give > application/x-troff t tr roff > Is there any way to force htdig indexing files without content-type checking ?
Not really. How would htdig know which parser to use for a file if it doesn't know what type of data the file contains? However, you can override the types in the mime.types file for a specific directory on your web site. For Apache, anyway, all you have to do is put a directive like the following in a ".htaccess" file in the directory you're indexing: AddType text/plain .T or you can use whatever type you feel is appropriate if text/plain isn't. -- 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

