According to mick:
> first, i must admit that i'm still a linux newbie - and i'm bringing
> this up because i'm not sure if the problem i'm experiencing is a result
> of htsearch or if i've configured something incorrectly in apache.
> 
> when i run htsearch at a basic prompt, it returns visably clean html.
> but when i try to pass it values from a web page (using the GET method,
> correct?  the search.html file that comes with the distribution uses
> POST, which returns POST not supported for this URL ..) it returns
> gibberish.
> 
> by gibberish, i mean:
> 
> mon_start__libz.so.1_DYNAMIC_GLOBAL_OFFSET_TABLE__init_finideflateInit_de
> 
> flatedeflateEndinflateEndinflateinflateInit_libstdc++-libc6.1-1.so.2cerrclose_
> 
> _11fstreambaseendl__FR7ostream__ls__7ostreamc__vt_3ios__ls__7ostreamPCvflush__
> 
> 7ostream__rtti_usercin__rtti_si__check_eh_spec__vt_7istream.3ios__throw__ls__7
> 
> ostreamPCc__deregister_frame_infoterminate__Fvgetline__7istreamPcic__cp_pop_ex
> 
> and much, much more - this is one of the few chunks that doesn't have
> high-bit characters in it.
> 
> anyhow, if someone can suggest what i'm doing wrong, it would be greatly
> appreciated.

On most Apache installations, by default, you must put CGI programs
in Apache's cgi-bin directory, or give the program name a .cgi suffix,
for the server to recognize the program as a CGI.  Otherwise, instead of
running the program, it just returns the contents of the executable file.
Also make sure the program has execute permission on it.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.

Reply via email to