2011/07/10

・・・こんなことに・・・

Lime Counter : KENT-WEB CGI/Perl フリーソフト

導入しようとしたらどうやっても
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

とか言われてどうしようもありませんでした。
syslogを見ても Premature end of script headersと500エラーしかなく。

その後、なぜか鯖で直接スクリプトを書くと動くということが判明。
転送時におかしくなってるのかと思ってSJIS,EUC.UTF8等文字コードを試しましたがどれも同じ・・・

鯖で直接perl limelist.cgiをやってもちゃんと動くため、意味不明です。

と延々と悩んだのですが結局文字コードではなく「改行コード」をLFにすると動くという・・・。

3時間・・・。
もっと早く気付けば・・・

0 件のコメント:

コメントを投稿