From: Akinori MUSHA Date: 2007-03-12T17:37:59+09:00 Subject: [ruby-dev:30543] Re: Microsoft-IIS 上で cgi.rb がレスポンス行を2重に出力する --pgp-sign-Multipart_Mon_Mar_12_17:37:59_2007-1 Content-Type: text/plain; charset=ISO-2022-JP At Mon, 12 Mar 2007 16:07:24 +0900, MIYASAKA Masaru wrote: > > IIS/5.0以降がOKということであればこんな感じでしょうか。 > > > > if options.delete("nph") or > > (/IIS\/(\d+)/n.match(env_table['SERVER_SOFTWARE']) and $1.to_i < 4) > > おお、いいと思います、これ。ただ、最後のところは > $1.to_i < 5 もしくは $1.to_i <= 4 が正しいと思います。  Perl の CGI.pm を確認しました。入れましょう。 -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Different eyes see different things, Different hearts beat on different strings -- But there are times for you and me when all such things agree" --pgp-sign-Multipart_Mon_Mar_12_17:37:59_2007-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBF9RFnkgvvx5/Z4e4RAlygAKDBIWueCBd/9W++MVfmad/lHYo6kQCeKaVd aLaeYuJbHXw1Gn+STXrnxl8= =l1F8 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Mar_12_17:37:59_2007-1--