HTTP Error 502.2 - Bad Gateway

HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "".

i am using windows server 2008, iis7, odbc connection, fcgi

I cant copy and paste the code,
so what is a general description of error
LVL 1
rgb192Asked:
Who is Participating?
 
Dave BaldwinFixer of ProblemsCommented:
You really have to look at the logs and see what file is causing the error.  Then look at the file and figure out why.  I can't give you a simple answer to your question.
0
 
Dave BaldwinFixer of ProblemsCommented:
That is an exact description of the error.  If the CGI application doesn't run or closes with an error, it can cause that because it didn't send any info back.  What code is causing that error?
0
 
rgb192Author Commented:
i am not sure of the error because it is a large cms

how could I echo error to screen
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
Dave BaldwinFixer of ProblemsCommented:
You probably can't... because it is not returning proper headers.  You'll have to look at whatever logs are available on the server.
0
 
rgb192Author Commented:
or how to make it return proper headers
0
 
rgb192Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.