<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Https on php-tips.com</title>
    <link>https://php-tips.com/tags/https/</link>
    <description>Recent content in Https on php-tips.com</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Tue, 14 Jul 2009 19:47:24 +0900</lastBuildDate>
    <atom:link href="https://php-tips.com/tags/https/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>特定のURLを強制的にhttpsにする</title>
      <link>https://php-tips.com/2009/07/14/%E7%89%B9%E5%AE%9A%E3%81%AEurl%E3%82%92%E5%BC%B7%E5%88%B6%E7%9A%84%E3%81%ABhttps%E3%81%AB%E3%81%99%E3%82%8B/</link>
      <pubDate>Tue, 14 Jul 2009 19:47:24 +0900</pubDate>
      <guid>https://php-tips.com/2009/07/14/%E7%89%B9%E5%AE%9A%E3%81%AEurl%E3%82%92%E5%BC%B7%E5%88%B6%E7%9A%84%E3%81%ABhttps%E3%81%AB%E3%81%99%E3%82%8B/</guid>
      <description>&lt;p&gt;mod_rewriteが使えるなら&lt;/p&gt;
&lt;code class=&#34;brush: plain&#34;&gt;
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} ^/anypath [OR]
RewriteCond %{REQUEST_URI} ^/otherpath
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
&lt;/code&gt;</description>
    </item>
  </channel>
</rss>
