Re: problem with php-cgi

2001-10-14 Thread Sebastian Ezequiel Ovide
|> and this is the output: |> |> ./prova.cgi |> X-Powered-By: PHP/4.0.3pl1 |> Content-type: text/html |> |> Questo e' solo una prova |> |> why apache tel me: Premature end of script headers: ?? | |I can't tell you why your script isn't working correctly but Apache is |upset because you are r

Re: problem with php-cgi

2001-10-14 Thread Peter Billson
> and this is the output: > > ./prova.cgi > X-Powered-By: PHP/4.0.3pl1 > Content-type: text/html > > Questo e' solo una prova > > why apache tel me: Premature end of script headers: ?? I can't tell you why your script isn't working correctly but Apache is upset because you are returning the

Re: problem with php-cgi

2001-10-14 Thread Sebastian Ezequiel Ovide
|> and this is the output: |> |> ./prova.cgi |> X-Powered-By: PHP/4.0.3pl1 |> Content-type: text/html |> |> Questo e' solo una prova |> |> why apache tel me: Premature end of script headers: ?? | |I can't tell you why your script isn't working correctly but Apache is |upset because you are

Re: problem with php-cgi

2001-10-14 Thread Peter Billson
> and this is the output: > > ./prova.cgi > X-Powered-By: PHP/4.0.3pl1 > Content-type: text/html > > Questo e' solo una prova > > why apache tel me: Premature end of script headers: ?? I can't tell you why your script isn't working correctly but Apache is upset because you are returning th

Re: problem with php-cgi

2001-10-13 Thread Sebastian Ezequiel Ovide
I can't resolve my problem with my potato my script is: prova.cgi: #!/usr/bin/php "; echo "Questo e' solo una prova"; echo "\n"; ?> and this is the output: ./prova.cgi X-Powered-By: PHP/4.0.3pl1 Content-type: text/html Que

Re: problem with php-cgi

2001-10-13 Thread Sebastian Ezequiel Ovide
I can't resolve my problem with my potato my script is: prova.cgi: #!/usr/bin/php "; echo "Questo e' solo una prova"; echo "\n"; ?> and this is the output: ./prova.cgi X-Powered-By: PHP/4.0.3pl1 Content-type: text/html Qu

Re: problem with php-cgi

2001-10-13 Thread Robert Davidson
Does your script put a blank line after the Content-type and so on, like: blah: blah foo-foo: bar Content-type: blah hello 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 ./tes

Re: problem with php-cgi

2001-10-13 Thread Sebastian Ezequiel Ovide
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

Re: problem with php-cgi

2001-10-12 Thread Robert Davidson
Does your script put a blank line after the Content-type and so on, like: blah: blah foo-foo: bar Content-type: blah hello 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 ./te

Re: problem with php-cgi

2001-10-12 Thread Sebastian Ezequiel Ovide
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

Re: problem with php-cgi

2001-10-12 Thread Peter Billson
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 > s

Re: problem with php-cgi

2001-10-12 Thread Peter Billson
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 >