php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7189 CGI Error
Submitted: 2000-10-13 12:51 UTC Modified: 2001-01-09 12:31 UTC
From: ben_curtis at hotmail dot com Assigned:
Status: Closed Package: IIS related
PHP Version: 4.0.3 OS: Windows 2000 Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ben_curtis at hotmail dot com
New email:
PHP Version: OS:

 

 [2000-10-13 12:51 UTC] ben_curtis at hotmail dot com
If you try to access a script that isn't in the file system (i.e. doesn't actually exist - 404), IIS returns this:

--- snip ---
CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did
return are:
--- snip ---

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-09 11:58 UTC] cynic@php.net
does this exist in PHP 4.0.4?
 [2001-01-09 12:31 UTC] cynic@php.net
update from Phill Driscoll:

This is certainly how 4.0.4 and indeed 4.0.4pl1RC1 and all its predecessors work. I'm not sure I'd call it a bug though.
There are settings in IIS for each script map file extension, where you can tell IIS to check if the script exists first (and if the user has sufficient permission to access the file). If the script isn't there, IIS sends a 404
response. If the script is there, but the user does not have permission, then an 'authentication required' is sent.

thus this is an IIS configuration issue; closing.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 02:01:30 2024 UTC