<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bekkou68</author_name>
  <author_url>https://blog.hatena.ne.jp/bekkou68/</author_url>
  <blog_title>bekkou68 の日記</blog_title>
  <blog_url>https://bekkou68.hatenablog.com/</blog_url>
  <categories>
    <anon>Rack</anon>
    <anon>Gogengo!</anon>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>きっかけ（2013/4/19 更新） D.D. を Gogengo! にリニューアルするにあたって、古いドメイン（http://www.ddic.jp/）を新しいドメイン（http://gogengo.me/）にリダイレクトしたくなりました。Railsアプリを Thin で動かしていました。例えばリダイレクトするだけのために Nginx を導入するのも大げさなので Rackレイヤーでリダイレクトすることにしました。『How to redirect without www using Rails 3 / Rack? - Stack Overflow』を参考にしました。※なお、このエントリを書いた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbekkou68.hatenablog.com%2Fentry%2F20120902%2F1346565309&quot; title=&quot;Rackレイヤーでリダイレクトする - bekkou68 の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-09-02 14:55:09</published>
  <title>Rackレイヤーでリダイレクトする</title>
  <type>rich</type>
  <url>https://bekkou68.hatenablog.com/entry/20120902/1346565309</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
