<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>macperl</author_name>
  <author_url>https://blog.hatena.ne.jp/macperl/</author_url>
  <blog_title>備忘録。</blog_title>
  <blog_url>https://macperl.hatenadiary.org/</blog_url>
  <categories>
    <anon>Apache</anon>
  </categories>
  <description>mod_rewriteは非常に便利。 ここでは、システムメンテナンス時などを想定した設定を考えてみます。 社内からのアクセスには通常のページを表示するが、社外からはメンテナンスを通知したページを表示する。 この場合、社内のIPアドレスが111.11.111.111だとします。 RewriteEngine on RewriteBase / RewriteCond %{REMOTE_HOST} !^124\.87\.135\.181$ RewriteRule (.*) /home/www/public_html/system.html [L] ここで重要なのがRewriteCond %{REMOT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmacperl.hatenadiary.org%2Fentry%2F20070124%2F1169633431&quot; title=&quot;mod_rewriteでIP単位で表示を変更する - 備忘録。&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>2007-01-24 19:10:31</published>
  <title>mod_rewriteでIP単位で表示を変更する</title>
  <type>rich</type>
  <url>https://macperl.hatenadiary.org/entry/20070124/1169633431</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
