<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hichame</author_name>
  <author_url>https://blog.hatena.ne.jp/hichame/</author_url>
  <blog_title>だめだま</blog_title>
  <blog_url>https://hichame.hatenadiary.org/</blog_url>
  <categories>
    <anon>メモ</anon>
    <anon>サーバ</anon>
  </categories>
  <description>Apacheでの話です。 拡張子がaspのファイルなんですが、中身はhtmlで書かれているので アクセスした時にhtmlとして表示させたいとき、 confファイルに下記を追加 LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine on RewriteRule ^(.*)\.asp$ $1.html [R=301,L]1行目でrewrite_moduleを有効にしておく 2行目で、書き換え機能をON 3行目は、正規表現で書かれた書き換え規則です。(R=301で、実際のアドレスも 書き換えます、なしだと書き換え前のアドレスが表…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhichame.hatenadiary.org%2Fentry%2F20090819%2F1250655688&quot; title=&quot;【サーバ】【rewrite_module】リンクをクリックしたとき拡張子を書き換える - だめだま&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>2009-08-19 13:21:28</published>
  <title>【サーバ】【rewrite_module】リンクをクリックしたとき拡張子を書き換える</title>
  <type>rich</type>
  <url>https://hichame.hatenadiary.org/entry/20090819/1250655688</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
