ID: 7449 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.0.3pl1 New Comment:
I don't think this is a bug in PHP. Anyway, please upgrade to the latest version. Reopen this report if the problem still exists. Previous Comments: ------------------------------------------------------------------------ [2000-10-29 05:02:21] [EMAIL PROTECTED] I made a little research on the problem and these are the results: 1. When I don't work in safe mode (php.ini, safe_mode = off) and don't set doc_root any value, everything works. 2. Even if I don't work in safe mode and I set doc_root to c:\Inetpub I get the CGI error. 3. Thanks to all those who helped me out, especially Frank Seesink :-) Asafus Flavius http://www.asafus.com ------------------------------------------------------------------------ [2000-10-25 08:12:31] [EMAIL PROTECTED] This issue has occured on a web server with various web sites on it, using host headers on the same IP address. The default web site is on c:\inetpub\wwwroot, but another site is on c:\inetpub\sitename.com. When I set up php.ini for doc_root = c:\inetpub\wwwroot, only the default web site returned results to the browser. The other site gave an error message: --- error start --- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: --- error end --- I tried changing the doc_root to c:\inetpub, but then both sites gave the error message. When I changed doc_root to c:\inetpub\sitename.com, PHP scripts could only be run on that site & the default web site returned the CGI error. -- end bug report -- -- start my advice -- I think there should be an ability to specify more than one doc_root in php.ini. -- end my advice -- Hope this helps, Asafus Flavius :-) http://www.asafus.com ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=7449&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]