My webpage is intermittently, but repeatedly showing CGI error pages, specifically the following text: QUOTE: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. END OF QUOTE. Basically, it is difficult to click through more than 4 pages without the error message appearing. Often the error message appears upon first attempting to access the site, or following the first click to an interior page if I am able to access the homepage. Using HttpWatch, I see that the exact error is an Http 502: QUOTE: HTTP/1.1 502 Bad Gateway Content-Length: 232 Content-Type: text/html Server: Microsoft-IIS/6.0 MicrosoftOfficeWebServer: 5.0_Pub X-Powered-By: ASP.NET Date: Sun, 30 Nov 2008 15:15:04 GMT Connection: close http://www.checkupdown.com/status/E502.html If you are surfing the Web and see this problem for all Web sites you try to visit, then either 1) your ISP has a major equipment failure/overload or 2) there is something wrong with your internal Internet connection e.g. your firewall is not functioning correctly. In the first case, only your ISP can help you. In the second case, you need to fix whatever it is that is preventing you reaching the Internet. END OF QUOTE. I do not have a problem with my firewall, in that I am able to access all other websites without this error message, or any other problem. No changes have been made to the site for awhile. Also, the same pages may work one time, and not the next. I submitted this to the Helpdesk, who offered no help , but rather suggested I submit it to this forum. I wonder if anyone else is getting a similar error, or can offer any advice. Thank you.
PHP. But I note that as of this morning the problem seems to have solved itself, through no active intervention on my part. If you have any insight on the possible cause, I would appreciate it, in the event it manifests itself again (fingers-crossed that it does not). I note that I was accessing many different pages via my ISP, Verizon, but the only site showing the CGI error was my own, discountasp.net page. Thanks.
This is one of those nasty PHP error. PHP is supposed to dump the page error to the browser even though it ran into error HOWEVER under some rare situation PHP will fail in such a way that it doesn't write the CGI Header. I really can't tell you what's causing the problem. I recommend you put some tracking within your PHP app. Bruce DiscountASP.NET www.DiscountASP.NET