On Wed, 2001-12-19 at 05:05, Klaus Hollenbach wrote:
> Is it somehow possible to make swishe not index php-code in a html-file?
> I switched off the IndexComments directive, but the php-code seems still
> be indexed.
> Is there a similar directive that avoids indexing of non-html-code? E.g.
> everything that is enclosed within asp-style tags
> ( <% ... %> ) ?
Wouldn't they be ignored because they are within tags? The internal
HTML parser might get confused, though. Are you indexing on Unix? Have
you tried using the libxml2 parser?
My solution: I compiled PHP as a CGI filter, configured similar to the
server module, and then configured SWISH-E to filter PHP documents
FileFilter .php /usr/local/bin/php "'%p'"
FileFilter .php /usr/local/bin/php '"%p"'
Dave's Web - http://www.webaugur.com/dave/
Augury Net - http://augur.homeip.net/
ICQ Universal Internet Number - 412039
E-Mail - firstname.lastname@example.org
"I once went to the store to buy a computer but
the salesman tried to sell me windows instead..."
Received on Wed Dec 19 14:57:15 2001