Author: Alexander Barkov
Email: bar mnogosearch.org
Message:
> When indexing files from disk via an Alias to file://
mnogosearch often has problems to detect the correct
language of my jsp files.
>
> is it possible to have the language guesser either use
the language extension from the filename
"file.ru.jsp" OR specify the language in the
AddType directive like
>
> AddType "text/html; charset=utf-8;
language=ru" *.ru.jsp
No, "language" is not recognized in the
Content-Type header.
>
> Anybody knows that?
> thanks
> matthias
You can try the following things:
1.
DefaultLang ru
Server file:///path/to/docs/ru/
DefaultLang en
Server file:///path/to/docs/en/
DefaultLang de
Server file:///path/to/docs/de/
But it will work only if documents with different
languages reside in different directories.
2. Try a trick with a user defined section.
I haven't tried, but it should look approximately like
this:
Section Content-Language 0 64 afterguesser cdoff
"" "$" "*.ru.jsp"
"ru"
See here for details:
http://www.mnogosearch.org/doc33/msearch-cmdref-sect
ion.html
Reply: <http://www.mnogosearch.org/board/message.php?id=19587&g
t;
------------------------------------------------------------
---------
To unsubscribe, e-mail: general-unsubscribe mnogosearch.org
For additional commands, e-mail: general-help mnogosearch.org
|