According to Jamie Anstice:
> Here's another quickie patch to 3.2.x.  It's support for 
> a content-type alias attribute for htdig which sorts out
> servers that get the content-type wrong in responses.
> While getting the server correctly configured is probably 
> a better solution, this works if the server is maintained 
> by someone else.
> 
> usage is something like: 
> content_type_aliases: text/plain=text/html
> and can be set for specific servers in the server block.
> 
> Also included is the patch as an attachment for when the c+p gets mangled.
> 
> Is the config file entry in the right format?  I've not seen a definitive
> description of what should be where, so it's a bit of a guess.

We don't really have a definitive reference for the format of entries in
htcommon/defaults.cc.  The test is to cd to htdoc and run cf_generate.pl,
and if that works, you probably have the right format.  It appears you
followed the example of other entries faithfully.  The "SLI-special"
would have to be changed to the current version number if this were
commited to CVS.

By the way, the patch is missing the changes needed in htdig/Document.h,
to correspond to Document.cc changes.

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

_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to