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 "Can't locate rlconfig.pm in @INC (@INC contains: d:\webs\websites\notalot.com\cgi-bin\ringlink\lib C:/Perl/site/lib C:/Perl/vendor/lib C:/Perl/lib .) at \\HOSTING\DFS\20\4\1\3\2049733314\user\sites\notalot.com\www\cgi-bin\ringlink\prev.pl line 30. BEGIN failed--compilation aborted at \\HOSTING\DFS\20\4\1\3\2049733314\user\sites\notalot.com\www\cgi-bin\ringlink\prev.pl line 30. ".

Most likely causes:

  • The CGI process was shut down or terminated unexpectedly before it finished processing the request.
  • The CGI process has a flaw and does not return a complete set of HTTP headers.

Things you can try:

  • Check the event logs on the system to see whether the CGI process is shutting down unexpectedly.
  • Troubleshoot the CGI application to determine why it is not sending a complete set of HTTP headers.

Detailed Error Information:

Module   CgiModule
Notification   ExecuteRequestHandler
Handler   Perl CGI pl
Error Code   0x00000002
Requested URL   http://www.notalot.com:80/cgi-bin/ringlink/prev.pl?ringid=cw;siteid=10
Physical Path   \\HOSTING\DFS\20\4\1\3\2049733314\user\sites\notalot.com\www\cgi-bin\ringlink\prev.pl
Logon Method   Anonymous
Logon User   Anonymous

More Information:

This error occurs when the CGI process handling the request exits before it finishes sending the response to IIS.

View more information »