CONTENTS


Lastmodified 2015-07-13 (月) 09:57:22


古いCGIが動かなくなった

それこそ1998年ごろに作られたCGI。どうやらこうやら動いていたのだけど、Perl-5.12 Apache22 FreeBSD 9.1-9.2 あたりまでは動作していたが、 Perl-5.20 Apache24 FreeBSD 9.3 になって、とうとう?、

 Internal Server Error 500

みたいな、よくあるエラーでうごかなくなりました(゜-゜)

Apacheのエラーログは、こんな感じ。jcode.plがらみの模様・・・、ということはPerlの環境の所為???

[Mon Jul 13 09:13:15.693547 2015] [cgi:error] [pid 4245] [client FQDN:63843] AH01215: defined(%hash) is deprecated at jcode.pl line 537.: /home/User_Name/public_html/cgi-bin/OLD.cgi, referer: http://Server_Name.User_Name.info/~User_Name/
[Mon Jul 13 09:13:15.693615 2015] [cgi:error] [pid 4245] [client FQDN:63843] AH01215: \t(Maybe you should just omit the defined()?): /home/User_Name/public_html/cgi-bin/OLD.cgi, referer: http://Server_Name.User_Name.info/~User_Name/
[Mon Jul 13 09:13:15.693644 2015] [cgi:error] [pid 4245] [client FQDN:63843] AH01215: defined(%hash) is deprecated at jcode.pl line 544.: /home/User_Name/public_html/cgi-bin/OLD.cgi, referer: http://Server_Name.User_Name.info/~User_Name/
[Mon Jul 13 09:13:15.693667 2015] [cgi:error] [pid 4245] [client FQDN:63843] AH01215: \t(Maybe you should just omit the defined()?): /home/User_Name/public_html/cgi-bin/OLD.cgi, referer: http://Server_Name.User_Name.info/~User_Name/
[Mon Jul 13 09:13:15.694186 2015] [cgi:error] [pid 4245] [client FQDN:63843] AH01215: syntax error at jcode.pl line 291, near "do convf(": /home/User_Name/public_html/cgi-bin/OLD.cgi, referer: http://Server_Name.User_Name.info/~User_Name/
[Mon Jul 13 09:13:15.694213 2015] [cgi:error] [pid 4245] [client FQDN:63843] AH01215: Compilation failed in require at lib.pl line 15.: /home/User_Name/public_html/cgi-bin/OLD.cgi, referer: http://Server_Name.User_Name.info/~User_Name/
[Mon Jul 13 09:13:15.694256 2015] [cgi:error] [pid 4245] [client FQDN:63843] AH01215: Compilation failed in require at /home/User_Name/public_html/cgi-bin/OLD.cgi line 51.: /home/User_Name/public_html/cgi-bin/OLD.cgi, referer: http://Server_Name.User_Name.info/~User_Name/
[Mon Jul 13 09:13:15.694456 2015] [cgi:error] [pid 4245] [client FQDN:63843] End of script output before headers: OLD.cgi, referer: http://Server_Name.User_Name.info/~User_Name/

で、結局、jcode.pl を最新版2010年版?にいれかえてOK

ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/

ここにありますた。

filejcode.pl


Total access 5740:本日 3:昨日 1

Counter: 5740, today: 3, yesterday: 1

添付ファイル: filejcode.pl 1358件 [詳細]

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2015-07-13 (月) 09:57:22