- 締切済み
見本のCGIをマニュアル通りに置いたのですが
CGIのテキストどおりに、サンプルCGIをサーバに置いたのですが 下記のようなメッセージがでます。 CGIWrap encountered an error while attempting to execute this script: Error Message: Exec format error Error Number: 8 This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M's at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the first line of the script. This is typically a problem if the script was edited or uploaded from a DOS/Windows/Macintosh station to a unix based server. If you are not the owner of this script, please forward this error and the URL that caused it to the script owner. That is often the component in the URL right after /cgiwrap/. 英語がさっぱり分からないのでなにがどうまずいのか全くわかりません。 メッセージの意味の分かる方是非、解説お願いします。
- みんなの回答 (6)
- 専門家の回答
みんなの回答
- nightowl
- ベストアンサー率44% (490/1101)
- nightowl
- ベストアンサー率44% (490/1101)
- MovingWalk
- ベストアンサー率43% (2233/5098)
- nightowl
- ベストアンサー率44% (490/1101)
お礼
色々とお手数かけてすみません。 参考URLをじっくり読んで勉強します。