According to htdig:
> I'm still trying to index our .pdffiles, and  has reached that rundig find
> the files, but they are not parsed. It seems to me now that there are
> missing some rights for doc2html to open the .pdffiles, but they are
> redable for all:
...
> [root@WebSrv pdf]# /usr/local/bin/doc2html.pl ./samlinger.pdf
> Can't open file ./samlinger.pdf
> [root@WebSrv pdf]#

The doc2html.pl script changes its working directory, so it doesn't
deal well with relative paths to files.  It needs a fully-qualified
pathname to the file, starting from the root directory.  It also needs,
at the very least, the content-type as a second argument.  As I wrote
to you in my e-mail yesterday, the suggested usage of doc2html.pl from
the command line is...

$ /usr/local/bin/doc2html.pl /full/path/to/my/file.pdf application/pdf \
        http://full/url/to/file.pdf /path/to/htdig.conf

> I thank in advance for any clue

Clue: Read directions carefully - details matter!

Did you fix the $PDF2HTML definition in doc2html.pl as I suggested?
BTW, you do not need execute permissions on your PDF files, only on your
directories and CGI programs.

-- 
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)


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
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