<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>benelux</author_name>
  <author_url>https://blog.hatena.ne.jp/benelux/</author_url>
  <blog_title>rain －しとしと降る雨の夜に－</blog_title>
  <blog_url>https://benelux01.hatenablog.com/</blog_url>
  <categories>
    <anon>覚書</anon>
    <anon>サーバ</anon>
    <anon>仕事</anon>
  </categories>
  <description>hogehoge.jp でアクセスしてきたら、www.付きにURLにリダイレクトする Apache mod_rewrite の設定。 RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.hogehoge\.jp RewriteRule .* http:/ /www. hogehoge.jp$0 [QSA,NE,R=301,L]1行目で RewriteEngineをONにする。2行目では httpヘッダの ホスト行が www.hogehoge.jp だったら、無視する。という条件。3行目は www無しのURL hogehoge.jpの後ろが あった場…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbenelux01.hatenablog.com%2Fentry%2F20110606%2F1307353449&quot; title=&quot;Apache mod_rewrite 設定覚書 - rain －しとしと降る雨の夜に－&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>2011-06-06 18:44:09</published>
  <title>Apache mod_rewrite 設定覚書</title>
  <type>rich</type>
  <url>https://benelux01.hatenablog.com/entry/20110606/1307353449</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
