<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>「FreeBSD-Apache目錄權限控管 .htaccess How To」的迴響</title>
	<atom:link href="http://blog.havenlin.org/archives/896/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.havenlin.org/archives/896</link>
	<description>歡迎使用非Internet Explorer瀏覽器，欣賞這裡的一切資訊！！</description>
	<lastBuildDate>Sun, 01 Jan 2012 06:55:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>作者：白目研究生</title>
		<link>http://blog.havenlin.org/archives/896/comment-page-1#comment-577</link>
		<dc:creator>白目研究生</dc:creator>
		<pubDate>Wed, 01 Oct 2008 08:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.havenlin.org/?p=896#comment-577</guid>
		<description>唉呀，學長寶刀不老...</description>
		<content:encoded><![CDATA[<p>唉呀，學長寶刀不老&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：On</title>
		<link>http://blog.havenlin.org/archives/896/comment-page-1#comment-575</link>
		<dc:creator>On</dc:creator>
		<pubDate>Wed, 01 Oct 2008 07:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.havenlin.org/?p=896#comment-575</guid>
		<description>更正最後一行
# /usr/local/sbin/htpasswd -c /any/http.pw username 

是/any/http.pw不是/var/http.pw

那個any指你要放pw檔的位置...</description>
		<content:encoded><![CDATA[<p>更正最後一行<br />
# /usr/local/sbin/htpasswd -c /any/http.pw username </p>
<p>是/any/http.pw不是/var/http.pw</p>
<p>那個any指你要放pw檔的位置&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：On</title>
		<link>http://blog.havenlin.org/archives/896/comment-page-1#comment-574</link>
		<dc:creator>On</dc:creator>
		<pubDate>Wed, 01 Oct 2008 07:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.havenlin.org/?p=896#comment-574</guid>
		<description>cat http.conf
----------------------------------
AllowOverride All 
----------------------------------
#開啟.htaccess


cat  .htaccess
----------------------------------
AuthName &quot;guest&quot;
AuthType &quot;Basic&quot;
AuthUserFile &quot;/any/http.pw&quot;
require valid-user
----------------------------------
該資料夾權限要允許多少個帳號就加多少個AuthName
帳號在http.pw裡要有對應的帳號密碼

cat /any/http.pw
----------------------------------
guest:b/u12T4LEefLo
----------------------------------

要新增帳號就用這個..
# /usr/local/sbin/htpasswd -c /var/http.pw username 


打完收工...</description>
		<content:encoded><![CDATA[<p>cat http.conf<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
AllowOverride All<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
#開啟.htaccess</p>
<p>cat  .htaccess<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
AuthName 『guest』<br />
AuthType 『Basic』<br />
AuthUserFile 『/any/http.pw』<br />
require valid-user<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
該資料夾權限要允許多少個帳號就加多少個AuthName<br />
帳號在http.pw裡要有對應的帳號密碼</p>
<p>cat /any/http.pw<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
guest:b/u12T4LEefLo<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>要新增帳號就用這個..<br />
# /usr/local/sbin/htpasswd -c /var/http.pw username </p>
<p>打完收工&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

