CONTENTS #contents ---- Lastmodified &lastmod; ---- *古いCGIが動かなくなった [#uef707d5] それこそ1998年ごろに作られたCGI。どうやらこうやら動いていたのだけど、Perl-5.12 Apache22 FreeBSD 9.1-9.2 あたりまでは動作していたが、 Perl-5.20 Apache24 FreeBSD 9.3 になって、とうとう?、 Internal Server Error 500 みたいな、よくあるエラーでうごかなくなりました(゜-゜) Apacheのエラーログは、こんな感じ。 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/ ここにありますた。 &ref(jcode.pl); ---- Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]);