Re: Can HTDIG process PHP-generated files from a database

Kurt Cypher <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
[email protected] wrote:
>  Aurora,
> From what you say here, I don't believe that you will need to do
> anything with external parsers - you say that the files can be indexed
> okay, once they have been saved to disc?
> 
> If so, then all you need to do is get the MIME-type / file-extension
> mappings to agree between htdig and the PHP server.
> If you have any trouble with this, then post the relevant portion of
> your config file, and/or the HTTP (not HTML) header of one of the
> documents.
> 
> Mike
> 

Something that just ocurred to me is a problem we had with some pages 
that had server-side includes in them.  The index was not including the 
data that was being added by the SSI, and we couldn't figure out why, 
until I remembered that htdig was configured to look in the local 
filesystem if at all possible, which kept it from parsing the files 
properly.  I turned off that option, forcing it to use HTTP instead of 
the local filesystem, and then they were being indexed properly.  It's 
entirely possible that this could be your problem, since if htdig is 
looking at the files in the local filesystem, it wouldn't have the 
server parsing the PHP into pages with data.

The command that tells htdig to check the local filesystem, instead of 
using HTTP is:

"local_urls:     http://www.example.com/directory=/path/to/directory/"

Your results may vary, but I thought it was worth mentioning.

Kurt

-- 
Kurt Cypher
Senior Systems Programmer, CaTS
Wright State University


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.