{"blog_url":"https://blog.h13i32maru.jp/","width":"100%","author_url":"https://blog.hatena.ne.jp/h13i32maru/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.h13i32maru.jp%2Fentry%2F20070701%2Fp1\" title=\" Ruby\u3067CGI\u3002 - maru source\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"title":" Ruby\u3067CGI\u3002","description":"\u4eca\u65e5\u306fRuby\u3067CGI\u4f5c\u6210\u306e\u899a\u3048\u66f8\u304d\u3002 \u203bmod_ruby\u4e0a\u3067\u52d5\u4f5c\u30c6\u30b9\u30c8\u3092\u3057\u307e\u3057\u305f\u304c\u3001cgi\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u3057\u3066\u3082\u52d5\u304f\u306f\u305a\u3067\u3059\u3002 \u25a0\u74b0\u5883 Ubuntu 7.04jp Ruby 1.8.5 Apache 2.2.3 mod_ruby 1.2.6 \u25a0CGI\u4f5c\u6210 Ruby\u3067CGI\u3092\u4f5c\u308b\u306e\u306f\u7c21\u5358\u3002 \u57fa\u672c\u7684\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u3060\u3051\u3002 #!/usr/bin/ruby #CGI\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30ed\u30fc\u30c9 require \"cgi\" #CGI\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210 cgi = CGI.new() #\u9001\u4fe1\u3055\u308c\u305f\u30d5\u30a9\u30fc\u30e0\u306e\u5024\u3092\u5f97\u308b name = cgi['name'] #\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u30ec\u30b9\u30dd\u30f3\u30b9 #HTTP\u30d8\u30c3\u30c0\u30fc\u3092\u51fa\u529b put\u2026","blog_title":"maru source","published":"2007-07-01 00:00:00","categories":["tech"],"url":"https://blog.h13i32maru.jp/entry/20070701/p1","provider_url":"https://hatena.blog","height":"190","type":"rich","author_name":"h13i32maru","provider_name":"Hatena Blog","version":"1.0"}