{"blog_url":"https://next49.hatenadiary.jp/","image_url":null,"version":"1.0","title":" Apache + Passenger + Rails 3.0 \u3067 send_file\u304c0 byte\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8fd4\u3059\u3068\u304d","type":"rich","provider_name":"Hatena Blog","categories":["RoR"],"author_name":"next49","description":"\u306f\u307e\u3063\u305f\u3002Rails\u306e\u9ed2\u9b54\u8853\u3077\u308a\u3092\u4e45\u65b9\u3076\u308a\u306b\u4f53\u611f\u3002 \u73fe\u8c61 \u958b\u767a\u74b0\u5883\u3092WebRick, SQLite3, Rails 3.0\u3001\u672c\u756a\u74b0\u5883\u3092 Apache + Passenger, PostgreSQL, Rails 3.0\u306b\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u958b\u767a\u74b0\u5883\u306b\u304a\u3044\u3066\u306f\u3001send_file\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u3061\u3083\u3093\u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u305b\u3089\u308c\u305f\u306e\u3060\u3051\u308c\u3069\u3082\u3001\u672c\u756a\u74b0\u5883\u306b\u306a\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c 0 byte\u306e\u30d5\u30a1\u30a4\u30eb\u3057\u304b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u306a\u3044\u3002 \u89e3\u6c7a\u65b9\u6cd5 \u5fdc\u6025\u51e6\u7f6e\uff1a config/environments/production.rb \u306e\u300cconfig.action_dispatch.x_sendfile_header = \"X-\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnext49.hatenadiary.jp%2Fentry%2F20101026%2Fp1\" title=\" Apache + Passenger + Rails 3.0 \u3067 send_file\u304c0 byte\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8fd4\u3059\u3068\u304d - \u767a\u58f0\u7df4\u7fd2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/next49/","height":"190","url":"https://next49.hatenadiary.jp/entry/20101026/p1","provider_url":"https://hatena.blog","blog_title":"\u767a\u58f0\u7df4\u7fd2","width":"100%","published":"2010-10-26 00:00:02"}