Does your script put a blank line after the Content-type and so on,
like:

blah: blah
foo-foo: bar
Content-type: blah

<html>
<a>hello</a>
</html>

Maybe you could post the first few lines of output to the list.

Cya


Sebastian Ezequiel Ovide wrote:
> 
> yes it do.
> 
> ./test.php.vgi make the same result that ./test.pl.cgi but test.pl.cgi
> work fine with apache but test.php.cgi don't want to work with apach !!!!
> 
> help.
> 
> --------------------------------------------------------
> 
> Sebastián Ezequiel Ovide ICQ:113198452
> Universitá degli studi di Padova <http://www.unipd.it>
> Dipartimento di Elettronica e Informatica <http://www.dei.unipd.it>
> 
> On Fri, 12 Oct 2001, Peter Billson wrote:
> 
> |Sebastian Ezequiel Ovide wrote:
> |>
> |> Hi,
> |>
> |> just installed php4-cgi, fixed bad symlink in /usr/lib/cgi-bin
> |>
> |> The prob is,
> |>
> |> running as a standar cgi does not work ie
> |>
> |> #!/usr/bin/php
> |>
> |> apache complains
> |>
> |> [Thu Dec 21 20:18:36 2000] [error] [client 192.168.1.169] Premature end of
> |> script headers: /var/www/home/felipe/Proyectos/hola.php4.cgi
> |>
> |> running from the comand line works great and with
> |>
> |> AddHandler bla bla
> |> Action bla bla bla
> |>
> |> also works fine.
> |>
> |> Any clue
> |>
> |> I'm running potato
> |>
> |
> |Your script is not send the magic Content-type: line before it's output.
> |
> |Pete
> |--
> |http://www.elbnet.com
> |ELB Internet Services, Inc.
> |Web Design, Computer Consulting, Internet Hosting
> |
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Regards,
Robert Davidson.
http://www.mlug.org.au/


Reply via email to