Hello!


Mathieu Legare wrote:
> Using Apache I had no problem,
> but with Netscape Enteprise 3.62 SP2 I
> had to add in search.cgi this line in
> the main ( I added it there because
> I didnt quite know where to add it
> and I was pretty confident it would
> work):
> 
> printf(\"Content-type: text/html\\n\\n\");
> because the server didnt know what to
> do.  I guess Apache assumes that by default.

search.cgi definitly does send this header. Apache
can't quess content type by default too.

This is from search.c:

if((env=getenv("QUERY_STRING"))){
                strcpy(query_string,env);
                printf("Content-type: text/html\r\n\r\n");

Does  Netscape pass the query through QUERY_STRING env variable??



> Also, Compiling with C for AIX compiler
> I had to remove all // syle comment from
> the code becayuse they are not standard
> C comment.
> 
> I had also to change a line in parsedate.c
> in the function parsedate()
> changed :
>  if((char *) = strchr(datestring,\',\'))
> for :
>  if(pos = (char *)strchr(datestring,\',\'))
> 
> after that I could compile and run
> udmsearch fine.

That should be fixed in 3.0.11 of course. 

Thanks for reporting!!!

-- 
Alexander Barkov
IZHCOM, Izhevsk
email:    [EMAIL PROTECTED]      | http://www.izhcom.ru
Phone:    +7 (3412) 51-55-45 | Fax: +7 (3412) 78-70-10
ICQ:      7748759
______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to