Author: Alexander Barkov
Email: [EMAIL PROTECTED]
Message:
> another question - still wondering why calling search.cgi - gives a quite good code 
>via telnet and no code at all via the browser:
> 
> It is possible that there is a kind of content-type flag which tells apache 
>"Hey guy this is an html-file and you have to post it!!!"
> 
> the funny thing via the shell is that the code starts directly with <HTML> and 
>as far as I know a cgi had to send something like Content-Type: HTML/Text and two 
>returns first. And it does not do that via the shell, maybe this is the reason for 
>the mallfunction???


search.cgi is smart enough and does not produce HTTP headers when
executed from shell. It check that at least one of QUERY_STRING or REQUEST_METHOD 
environment variables exists.




Reply: <http://search.mnogo.ru/board/message.php?id=1345>

______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to