<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>ldap</anon>
    <anon>http</anon>
    <anon>htaccess</anon>
  </categories>
  <description>httpでアクセスしてきたユーザーをHTTPSの暗号化に転送したい。 こういうこと http://example.jp/index.php?a → https://example.jp/index.php?a #リダイレクト .htaccess RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R].htaccessとmod_rewrite を組み合わせると簡単にできる。 色々やり方はあるんだけど。 virtualhost や L…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F20101217%2F1292579757&quot; title=&quot;HTTPSを強制する簡単な設定(htaccess) - それマグで！&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>2010-12-17 18:55:57</published>
  <title>HTTPSを強制する簡単な設定(htaccess)</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/20101217/1292579757</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
