[#35592] String#center — Take_tk <ggb03124@...>

 仕様拡張のお願い。と言うほどのものでもないですが・・

33 messages 2002/07/20
[#35593] Re: String#center — Kazuhiro NISHIYAMA <zn@...> 2002/07/20

西山和広です。

[#35596] Re: String#center — Take_tk <ggb03124@...> 2002/07/20

たけ(tk)です。

[#35597] Re: String#center — Kazuhiro NISHIYAMA <zn@...> 2002/07/20

西山和広です。

[#35599] Rational#to_int ← String#center — Take_tk <ggb03124@...> 2002/07/21

たけ(tk)です。

[#35601] Re: Rational#to_int ← String#center — matz@... (Yukihiro Matsumoto) 2002/07/21

まつもと ゆきひろです

[#35618] new mathn [Re: Rational#to_int ← String#center] — keiju@... (石塚圭樹) 2002/07/23

けいじゅ@日本ラショナルソフトウェアです.

[#35624] Re: new mathn [Re: Rational#to_int ← String#center] — matz@... (Yukihiro Matsumoto) 2002/07/24

まつもと ゆきひろです

[#35628] Re: new mathn [Re: Rational#to_int ← String#center] — keiju@... (石塚圭樹) 2002/07/24

けいじゅ@日本ラショナルソフトウェアです.

[#35630] Re: new mathn [Re: Rational#to_int ← String#center] — matz@... (Yukihiro Matsumoto) 2002/07/24

まつもと ゆきひろです

[ruby-list:35667] cgi のエラー

From: Takeshi Honda <moecho21@...>
Date: 2002-07-30 14:56:36 UTC
List: ruby-list #35667
http://homepage1.nifty.com/arima/ruby/index.htm
にあるruby1.6.4を使って、以下のcgiスクリプトを実行すると
うまくいくのですが、

----------- cgiスクリプト -----------

#!/ruby/bin/ruby -Ks
print "Content-type: text/html\n\n";

print <<EOT;
hello world
EOT

-------------------------------------

http://www.ruby-lang.org/~eban/ruby/binaries/cygwin/
にある、ruby1.6.6にかえてみると、エラーになります。
これはなぜでしょうか?

---------- 新しいcgiスクリプト ----------

#!/home/bin/cygwin/usr/local/bin/ruby -Ks
print "Content-type: text/html\n\n";

print <<EOT;
hello world
EOT

-----------------------------------------

---------- Apacheのエラーログ -----------

[Wed Jul 31 00:01:41 2002] [error] [client 127.0.0.1]
Premature end of script headers:
c:/home/public_html/cgi-bin/test.cgi

-----------------------------------------

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!  http://bb.yahoo.co.jp/

In This Thread

Prev Next