From: [EMAIL PROTECTED] Operating system: NT4 SP6 PHP version: 4.0.4pl1 PHP Bug Type: IIS related Bug description: CGI error when executing php script in a virtual directory I have PHP 4.0.4pl1 installed on an NT4 (SP6) Server running IIS 4.0. Executing PHP scripts in a directory under www_root works fine. When the simplest helloworld script is executed on a virtual directory, I get "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" I've tried telnetting to the server and getting the file to see what headers are returned: HTTP/1.1 502 Gateway Error Server: Microsoft-IIS/4.0 Date: Fri, 23 Feb 2001 18:10:22 GMT Content-Length: 215 Content-Type: text/html <head><title>Error in CGI Application</title></head> <body><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:<p><p><pre></pre>Connection closed by foreign host. I've seen a couple of references to this problem on php.net, but no solutions. Any ideas? Thanks. Kevin Johnson -- Edit Bug report at: http://bugs.php.net/?id=9428&edit=1 -- PHP Development 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]