Hello,

I try to index MS-Word documents.

I put theses lines in indexer.conf:
AddType application/msword      \.doc$
Mime application/msword         text/html
"/httpfiles/bin/MsToHtml $1"

Here the script /httpfiles/bin/MsToHtml:

#! /bin/ksh
export PATH=$PATH:/usr/local/bin
/usr/local/bin/mswordview -o - -i /dev/null $1


The problem is that the file i got with "$1" is emty,  so the external
parser says "input file is empty".
The same script works well if i launch it on the command line.
What is the problem?

Sebastien Dagnicourt.

______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to