{"author_url":"https://blog.hatena.ne.jp/bisque3311/","title":"WEBrick\u3067WebServer\u3092\u7acb\u3066\u308b\u2461","version":"1.0","width":"100%","published":"2012-05-11 15:34:48","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbisque.hatenablog.jp%2Fentry%2F2012%2F05%2F11%2F153448\" title=\"WEBrick\u3067WebServer\u3092\u7acb\u3066\u308b\u2461 - Persistence\" 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,"blog_url":"https://bisque.hatenablog.jp/","height":"190","categories":["Ruby"],"type":"rich","author_name":"bisque3311","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","url":"https://bisque.hatenablog.jp/entry/2012/05/11/153448","blog_title":"Persistence","description":"WEBrick\u306f\u983b\u7e41\u306b\u4f7f\u3046\u306e\u3067Windows\u306e\u30d0\u30c3\u30c1\uff08DOS\u30b3\u30de\u30f3\u30c9\uff09\u304b\u3089\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002\u3064\u3044\u3067\u306b\u5f15\u6570\u3067\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002 \u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb ruby C:\\Ruby\\WEBrick\\httpserver1.rb 8000 \u30bd\u30fc\u30b9\uff08\u592a\u5b57\u90e8\u5206\u3092\u5909\u66f4\uff09 #!C:\\Ruby193\\bin\\evn ruby require \"webrick\" include WEBrick port = ARGV[0] ? ARGV[0] : 80 s = HTTPServer.new( :Port => port, :DocumentRoot => File.join(Dir::pwd,\"pub\u2026"}