<?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>Historical Log &#187; Apache</title>
	<atom:link href="http://takuya.miyai.jp/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://takuya.miyai.jp</link>
	<description>宮井拓也の日記</description>
	<lastBuildDate>Sun, 25 Sep 2011 08:10:53 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>基本認証のおさらい</title>
		<link>http://takuya.miyai.jp/logs/pc%e3%83%bbserver%e8%a8%ad%e5%ae%9a/%e5%9f%ba%e6%9c%ac%e8%aa%8d%e8%a8%bc%e3%81%ae%e3%81%8a%e3%81%95%e3%82%89%e3%81%84.html</link>
		<comments>http://takuya.miyai.jp/logs/pc%e3%83%bbserver%e8%a8%ad%e5%ae%9a/%e5%9f%ba%e6%9c%ac%e8%aa%8d%e8%a8%bc%e3%81%ae%e3%81%8a%e3%81%95%e3%82%89%e3%81%84.html#comments</comments>
		<pubDate>Tue, 17 Feb 2009 14:28:29 +0000</pubDate>
		<dc:creator>tmiyai</dc:creator>
				<category><![CDATA[PC・Server設定]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://takuya.miyai.jp/?p=346</guid>
		<description><![CDATA[というか、備忘録 １．.htaccessの作成 基本認証をかけたいディレクトリに.htaccessを作成 $ vi .htaccess [shell] AuthType Basic AuthUserFile /home/ [...]]]></description>
			<content:encoded><![CDATA[<p>というか、備忘録</p>
<p>１．.htaccessの作成<br />
基本認証をかけたいディレクトリに.htaccessを作成</p>
<p>$ vi .htaccess</p>
<p>[shell]<br />
AuthType Basic<br />
AuthUserFile /home/hoge/.htpasswd<br />
AuthGroupFile /dev/null<br />
AuthName &#8220;Input ID and Password.&#8221;<br />
require valid-user<br />
[/shell]</p>
<p>ちなみに、require valid-userは、全てのユーザに対して基本認証の機会を与える設定。<br />
※そのため本当はもっと絞り込んだ方が良いのですが、省略。</p>
<p>２．.htpasswdの作成<br />
先ほどの.htaccessで指定したパスに.htpasswdファイルを作成</p>
<p>$ htpasswd -c /home/hoge/.htpasswd username1<br />
New password: ******[Enter]<br />
Re-type new password: ******[Enter]</p>
]]></content:encoded>
			<wfw:commentRss>http://takuya.miyai.jp/logs/pc%e3%83%bbserver%e8%a8%ad%e5%ae%9a/%e5%9f%ba%e6%9c%ac%e8%aa%8d%e8%a8%bc%e3%81%ae%e3%81%8a%e3%81%95%e3%82%89%e3%81%84.html/feed</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
	</channel>
</rss>

