<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>アクセス制限 on qwerty.work</title>
        <link>https://qwerty.work/tags/%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E5%88%B6%E9%99%90/</link>
        <description>Recent content in アクセス制限 on qwerty.work</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>ja-JP</language>
        <lastBuildDate>Tue, 29 Nov 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://qwerty.work/tags/%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E5%88%B6%E9%99%90/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>.htaccessでRainloopのdataフォルダにアクセス制限をかける方法</title>
            <link>https://qwerty.work/post/2022/11/htaccess%E3%81%A7rainloop%E3%81%AEdata%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E5%88%B6%E9%99%90%E3%82%92%E3%81%8B%E3%81%91%E3%82%8B%E6%96%B9%E6%B3%95/</link>
            <pubDate>Tue, 29 Nov 2022 00:00:00 +0000</pubDate>
            <guid>https://qwerty.work/post/2022/11/htaccess%E3%81%A7rainloop%E3%81%AEdata%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E5%88%B6%E9%99%90%E3%82%92%E3%81%8B%E3%81%91%E3%82%8B%E6%96%B9%E6%B3%95/</guid>
            <description>&lt;h2 id=&#34;管理画面のエラーに対処&#34;&gt;管理画面のエラーに対処&#xA;&lt;/h2&gt;&lt;p&gt;レンタルサーバーに設置できるWEBメーラー「&lt;a class=&#34;link&#34; href=&#34;https://www.rainloop.net/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Rainloop&lt;/a&gt;」を使用しているのですが、管理画面で以下のようなエラーが出ました。この警告が出ないように対処する方法をメモ。&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;&lt;p&gt;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;1225px&#34; data-flex-grow=&#34;510&#34; height=&#34;148&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://qwerty.work/post/2022/11/htaccess%E3%81%A7rainloop%E3%81%AEdata%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E5%88%B6%E9%99%90%E3%82%92%E3%81%8B%E3%81%91%E3%82%8B%E6%96%B9%E6%B3%95/images/RainLoop-warning.png&#34; width=&#34;756&#34;&gt;&lt;/p&gt;&#xA;&lt;figcaption&gt;&#xA;&lt;p&gt;Rainloopの管理画面に表示された警告&lt;/p&gt;&#xA;&lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;htaccessでディレクトリにアクセス制限&#34;&gt;.htaccessでディレクトリにアクセス制限&#xA;&lt;/h2&gt;&lt;p&gt;Rainloopのディレクトリに&lt;strong&gt;dataフォルダ&lt;/strong&gt;があります。この直下にある**.htaccess**を開いて以下のように変更しります。&lt;/p&gt;&#xA;&lt;h3 id=&#34;変更前のhtaccess&#34;&gt;変更前の.htaccess&#xA;&lt;/h3&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Deny from all&#xA;&amp;lt;IfModule mod_autoindex.c&amp;gt;&#xA;Options -Indexes&#xA;&amp;lt;/ifModule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;変更後のhtaccess&#34;&gt;変更後の.htaccess&#xA;&lt;/h3&gt;&lt;p&gt;内部からのアクセスは許可して、それ以外はブロックする内容です。&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;SetEnvIf Referer &amp;#34;^https://example.com&amp;#34; chk_url&#xA;SetEnvIf Referer &amp;#34;^http://example.com&amp;#34; chk_url&#xA;&#xA;Order Deny,Allow&#xA;Deny from all&#xA;Allow from env=chk_url&#xA;&#xA;&amp;lt;IfModule mod_autoindex.c&amp;gt;&#xA;Options -Indexes&#xA;&amp;lt;/ifModule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;これで警告画面がが表示されなくなりました。&lt;/p&gt;&#xA;</description>
        </item></channel>
</rss>
