> The only pages that are getting this error are the ones that php is mapped > to parse (i.e. .html .php .phtml) if I go to a page that doesn't exist with > a .htm or .cgi extension etc it works fine and I get the standard IIS 404 > error page. > But when it is a page that php processes thats when the CGI error returns.
=I'm working from (vague) memory and a good six months back when it was my first (and only) time to work with the IIS/PHP combination. Once I fired up Apache and figured out a few of its quirks, I saw little reason to run the heavier product - even on a WinNT/2000 machine. I can't even remember the IIS terminology... I seem to recall that there is a tab/frame somewhere within the MMC for setting up scripting languages/server side processing. In the flurry of detail there, does it set up a separate exception processing (eg Error 404/500 pages) handler for each script processor? That being the case, there would be no "standard: 404 error page, but a series of error pages for each - and such a structure may indicate why you find a different behavior for HTML as PHP =... but I hear ominous creaks from the thin ice beneath me... > What are the [PHP-Win] mavens? =We are conversing on the [PHP] discussion list. There is a companion list dedicated to the use of PHP under Windows called [PHP-Win]. =(from Cambridge International Dictionary of English) maven noun [C] AMERICAN INFORMAL a person with good knowledge or understanding of a subject He's a baseball maven who knows Hank Aaron's home run statistics by heart. (apologies for sullying your tender ears with such an Americanism) =As I say, I'm sure a 'practising Windows professional' would be able to assist you (more) competently, and I think that is where you'lll find (at least) one. =Regards, =dn > > THanks. > "Dl Neil" <[EMAIL PROTECTED]> wrote in message > 048001c15dab$d5c0fcf0$a516100a@jrbrown">news:048001c15dab$d5c0fcf0$a516100a@jrbrown... > > > I have just set up PHP on my webserver (IIS 4 on NT4). > > > I have set up the script mapping so that I can save php files as .html > and > > > php processes them. > > > > > > This works fine until someone goes to a page that doesn't exist - > instead of > > > getting the customised error 404 page (i.e. the page you requested > cannot be > > > found), php prints: > > > > > > CGI Error > > > > > > The specified CGI application misbehaved by not returning a complete set > of > > > HTTP headers. The headers it did return are: > > > > > > And thats all I get. > > > > > > Does anyone know how to customise this page or set up a new one? > > > > > > Chris, > > That's an IIS function (not PHP). > > It's a pane accessible from the MMC. > > Perhaps the [PHP-Win] mavens could help? > > =dn > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]