I tested the index of a few hundreds of pages on windows web server 2008 iis 7.0 using the cgi option. The search.cgi page showed up ok, but when I searched a word, it returned an error page:
Server Error in Application "DEFAULT WEB SITE/INDEX-TEST3"Internet Information Services 7.0
Error Summary
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 "".
Detailed Error InformationModule CgiModule
Notification ExecuteRequestHandler
Handler CGI
Error Code 0xc0000409
Requested URL http://localhost:80/index-test3/search.cgi?zoom_sort=0&zoom_xml=0&zoom_query=test& zoom_per_page=10&zoom_and=1&zoom_cat%5B%5D=-1
Physical Path C:\inetpub\wwwroot\index-test3\search.cgi
Logon Method Anonymous
Logon User Anonymous
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.
Links and More InformationThis error occurs when the CGI process handling the request exits before it finishes sending the response to IIS.
View more information ยป
Server Error in Application "DEFAULT WEB SITE/INDEX-TEST3"Internet Information Services 7.0
Error Summary
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 "".
Detailed Error InformationModule CgiModule
Notification ExecuteRequestHandler
Handler CGI
Error Code 0xc0000409
Requested URL http://localhost:80/index-test3/search.cgi?zoom_sort=0&zoom_xml=0&zoom_query=test& zoom_per_page=10&zoom_and=1&zoom_cat%5B%5D=-1
Physical Path C:\inetpub\wwwroot\index-test3\search.cgi
Logon Method Anonymous
Logon User Anonymous
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.
Links and More InformationThis error occurs when the CGI process handling the request exits before it finishes sending the response to IIS.
View more information ยป
Comment