tsttom
Зарегистрирован: 29.12.2007 Сообщения: 3
|
Добавлено: Сб Дек 29 2007 22:46 Заголовок сообщения: Помогите с настройками IIS7 для работы cgi |
|
|
Приветствую всех,
Помогите, пожалуйста, с настройками:
операционка: Vista Home Primium, веб сервер: IIS7
Творится такая хрень:
1. захожу на http://localhost/mysite/ нормально грузится страница default.asp и из этой страницы вызывается cgi
form ACTION="mycgi.exe" METHOD="POST" TARGET="_self"
2. mycgi.exe отрабатывает нормально, но все остальное, что вызывается из mycgi.exe
- не отрабатывается и выдает ошибку:
Server Error in Application "Default Web Site"
HTTP Error 502.2 - Bad Gateway
Description: The specified CGI application did not return a complete set of HTTP headers.
Error Code: 0x00000103
Notification: ExecuteRequestHandler
Module: CgiModule
Requested URL: http://localhost:80/mysite/mycgi_2.exe?p1=v1&p2=v2&p3=v3
Physical Path: C:\inetpub\wwwroot\mysite\mycgi_2.exe
Logon User: Anonymous
Logon Method: Anonymous
Handler: CGI-exe
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.
What 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.
Server Version Information: Internet Information Services 7.0.
3. Причем еще что интересно, если поменять в default.asp метод POST на метод GET, то выдается такая же ошибка и mycgi.exe не отрабатывает. |
|