RE: [PHP-WIN] Why am I getting a CGI error?
| From: | Erik H. Mathy | Date: | Fri, 10 Aug 2001 20:15:45 +0000 |
| Subject: | RE: [PHP-WIN] Why am I getting a CGI error? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8776@lists.php.net to get a copy of this message | ||
I've gotten that error in the past. It was a NTFS security issue. Remember
that the machine_iusr has to have rights not only to the php.exe, but to the
files that php.exe will touch with the code in question.
- Erik
> -----Original Message-----
> From: Flint Doungchak [mailto:Flint@netsolutionsllc.com]
> Sent: Friday, August 10, 2001 2:27 PM
> To: 'Jeff Howard'; php-windows@lists.php.net
> Subject: RE: [PHP-WIN] Why am I getting a CGI error?
>
>
> Jeff,
>
> It seems that a lot of us are getting this error and nothing has been
> resolved. I sent a bug report with information from my IIS logs. Are you
> using MS SQL or MySQL. I'm asking because I'm trying to find some pattern
> some where to help the code writers.
>
> I thought that it occured only while re-directing code to itself, but that
> isn't the case. I thought it might have to do with the query
> string after a
> url get, but that's not the case. It truly seems random. I guess the next
> thing is to nail down the environment.
>
> If you can get that to me, then, I'll add that to my bug report and follow
> up to the list when I hear something.
>
> -Flint
>
> -----Original Message-----
> From: Jeff Howard [mailto:jeff.howard@berry-hinckley.com]
> Sent: Friday, August 10, 2001 11:21 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Why am I getting a CGI error?
>
>
> I have used PHP before with an ISAPI filter and got burned. It seems that
> if you stop the page in the middle of a process, you must restart IIS.
>
> Now, I am trying to use it as a CGI module. I have no trouble using PERL
> and CGI, but for some reason, I am getting this error message when I use
> PHP:
>
> The specified CGI application misbehaved by not returning a
> complete set of
> HTTP headers. The headers it did return are:
>
> I have not missed any of the syntax. As a matter of fact, here
> is the exact
> code:
>
> <?
>
> header("Location:
> http://localhost/calculate_form.html");
>
> exit;
>
> ?>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>