<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gototake blog &#187; Apache</title>
	<atom:link href="https://blog.gototake.com/?cat=6&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://blog.gototake.com</link>
	<description>自分用メモ</description>
	<lastBuildDate>Mon, 21 Nov 2016 12:04:51 +0000</lastBuildDate>
	<language>ja</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.1</generator>
	<item>
		<title>.htaccessでメンテ表示</title>
		<link>https://blog.gototake.com/?p=38</link>
		<comments>https://blog.gototake.com/?p=38#comments</comments>
		<pubDate>Mon, 31 Mar 2014 13:33:36 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://blog.gototake.com/?p=38</guid>
		<description><![CDATA[1 2 3 4 5 6 7 8 9 10 11 12 13 ErrorDocument 503 /mainte [&#8230;]]]></description>
				<content:encoded><![CDATA[<style type="text/css">
.bwp-syntax-wrapper li {white-space: normal;}
</style>
<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar">
<div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div>
</div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple">
<table class="php">
<tbody>
<tr class="li1">
<td class="ln">
<pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
</pre>
</td>
<td class="de1">
<pre class="de1">ErrorDocument <span class="nu0">503</span> <span class="sy0">/</span>maintenance<span class="sy0">.</span>html
&nbsp;
<span class="sy0">&lt;</span>IfModule mod_rewrite<span class="sy0">.</span>c<span class="sy0">&gt;</span>
&nbsp; RewriteEngine On
&nbsp; RewriteCond <span class="sy0">%</span><span class="br0">&#123;</span>REQUEST_URI<span class="br0">&#125;</span> <span class="sy0">!=/</span>maintenance<span class="sy0">.</span>html
&nbsp; RewriteCond <span class="sy0">%</span><span class="br0">&#123;</span>REMOTE_ADDR<span class="br0">&#125;</span> <span class="sy0">!=</span>000<span class="sy0">.</span>000<span class="sy0">.</span>000<span class="sy0">.</span>000
&nbsp; RewriteCond <span class="sy0">%</span><span class="br0">&#123;</span>REMOTE_ADDR<span class="br0">&#125;</span> <span class="sy0">!=</span>192<span class="sy0">.</span>168<span class="sy0">.</span>0<span class="sy0">.</span>000
&nbsp; RewriteRule ^<span class="sy0">.*</span>$ <span class="sy0">-</span> <span class="br0">&#91;</span>R<span class="sy0">=</span><span class="nu0">503</span><span class="sy0">,</span>L<span class="br0">&#93;</span>
<span class="sy0">&lt;/</span>IfModule<span class="sy0">&gt;</span>
&nbsp;
<span class="sy0">&lt;</span>IfModule mod_headers<span class="sy0">.</span>c<span class="sy0">&gt;</span>
&nbsp; <span class="kw3">Header</span> set Retry<span class="sy0">-</span>After <span class="st0">&quot;Thu, 4 July 2013 6:00:00 GMT&quot;</span>
<span class="sy0">&lt;/</span>IfModule<span class="sy0">&gt;</span></pre>
</td>
</tr>
</tbody>
</table>
</div>
<div class="bwp-syntax-source">
<pre class="no-parse">ErrorDocument 503 /maintenance.html

&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteCond %{REQUEST_URI} !=/maintenance.html
  RewriteCond %{REMOTE_ADDR} !=000.000.000.000
  RewriteCond %{REMOTE_ADDR} !=192.168.0.000
  RewriteRule ^.*$ - [R=503,L]
&lt;/IfModule&gt;

&lt;IfModule mod_headers.c&gt;
  Header set Retry-After "Thu, 4 July 2013 6:00:00 GMT"
&lt;/IfModule&gt;</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>https://blog.gototake.com/?feed=rss2&#038;p=38</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
