G. T. Stresen-Reuter wrote:
Reviewing the output from -vvvv I see this line:

Header line: Content-Type: text/plain

The .doc parser is triggered by a content-type of application/msword.

Using Firefox with the web developer extensions installed (or using telnet and manually sending an HTTP request) you can see what content-type headers Apache is really sending for Word documents. If it is not sending application/msword (and it appears that it is not), then the doc2html.pl script will not be triggered...

Let us know if that is the problem. Note that depending on your version of Apache, how to configure it to send the right header varies... check the documentation to find out how to do it.

The version of Apache is 1.3.27-8. This is an SMEserver system (aka E-Smith), which is based on RH 7.3. I have looked in /etc/mime.types and can see that there is no entry for application/msword. I have added one and restarted apache. And it works!!

Many thanks for your help.

--
Cheers

Brian

http://www.abandonmicrosoft.co.uk



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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