crazymaster
asked on
HTTP Error 502.2 - Bad Gateway
We have recently migrated from Old webservers (Win2003 - IIS 6) to New Servers (Win2008 R2 - IIS 7). Now we are getting error when accessing the URL getting error
HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Module CgiModule
Notification ExecuteRequestHandler
Handler CGI Script Map
Error Code 0x000000ff
I recently noticed older Web Server has Perl v5.8.8 and New server has Perl v5.20.1. Need help on this.
HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Module CgiModule
Notification ExecuteRequestHandler
Handler CGI Script Map
Error Code 0x000000ff
I recently noticed older Web Server has Perl v5.8.8 and New server has Perl v5.20.1. Need help on this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys for your reply, HTTP headers was not correct. I have changed it and its working.
Lets first check that the script itself is working correctly. Try running the script from the command line instead of through the browser and post the exact output it generates.
It would also be helpful if you post the script so we can see what it's doing.