On Wed, 10 Oct 2001, Genchev, Sergei wrote:

> Date: Wed, 10 Oct 2001 17:31:43 -0500
> From: "Genchev, Sergei" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'"
    <[EMAIL PROTECTED]>
> Subject: [htdig] htdig in chrooted environment
> 
>  Hi,
> 
>  I am trying to run htsearch under chrooted Apache on Redhat7.1. That's what
> I have done: 
> - built an index with htdig outside of jail, setting database directory to
> /jail/apache/htdigdb/. /jail/apache is where I chroot my Apache server to. 
> - put database_dir: /htdigdb in htdig.conf file within a jail.
> - copied a couple of libraries htsearch needed into the jail.
> 
>  Now, when I do a search connecting to (jailed) apache server, search comes
> up with correct results. The title of the pages looks good but first strings
> from the document are all garbage. Here is how it looks like - the funny
> characters there is exactly what I see.
> 
> Document Title - Somefile
> xœ}W]sÛ6ü+÷”´©”¯‡ÎÄyh[‰Ý©-U”Çí#Dž(Ä À å×w
> 
>¾l¥%‚GÜÞÞî&-\éËhv{sG×:Dç·ô°ÚöK¿ÑgUj££æpüuÜ´Æm¶‘.;ïåó·
> 
>IËVÛ:еk˜^Ôñãi‚´rôì]:ߨ¨Í÷În–Ÿ2\Fï¬.͹\á‹Vv·q¡#Óðù>Mî绨á¾ÂáIÃãÒ†?ø?Û
> 
>O‹´£Š¤C5j[£Ëô¤ìùŸTÊü§¶áìnÅÍ|L7wWã¿ÏÞ¾ž<Ð|BŸîÿÁ.W¬
> {úÓ!‡óXøÔmé³w;Ø3;<\æ/ º?à;ÞÐÔ»ª ...
> http://my.web.server/subdir/somefile.html , 15797 bytes 
> 
>  The issue is only with displaying search results, everything else is
> correct i.e. it correctly finds documents containing the word(s) I am
> searching for, links work, etc.
> 
>  If I run Apache and htsearch unjailed using the same database, I am getting
> correct display. Obviously, something is missing in jailed environment.
>  I do have /usr/lib/locale directory with all subdirectories and
> /usr/bin/locale in my jail. I am not sure if it even has anything to do with
> the problem, I am not trying to index non-English documents anyway.
>  Any thoughts?
>  Thanks a lot!!

It looks like you have a compression/decompression problem; do you have
zlib in your jail environment?

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]



_______________________________________________
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