0
我已經使用visual studio 10編譯器編譯了一個fastcgid示例程序和libfcgid文件。該exe文件正常工作。但是當我嘗試通過apache服務器使用瀏覽器打開exe文件時,經過很長時間後,瀏覽器中顯示以下內容。mod_fcgid:無法運行C:/ Program
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache的日誌文件包含以下錯誤:
[error] (OS 2)The system cannot find the file specified. : mod_fcgid: can't run C:/Program
[warn] (OS 2)The system cannot find the file specified. : mod_fcgid: spawn process C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/test/fcgitest.exe error
[warn] [client 127.0.0.1] mod_fcgid: can't apply process slot for C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/test/fcgitest.exe
我已經注意到了發生錯誤時,我在httpd.conf中包括以下行
SetHandler fcgid腳本
任何人都可以幫我解決這個問題嗎?提前致謝。