<?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>记忆在这里化作永恒 &#187; .htaccess</title>
	<atom:link href="http://www.onlyring.net/tag/htaccess/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onlyring.net</link>
	<description>记录工作，记录生活，记录一切值得留下的东西...</description>
	<lastBuildDate>Tue, 10 May 2011 04:21:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>.htaccess修改</title>
		<link>http://www.onlyring.net/2008/06/12/web/htaccessxiugai.html</link>
		<comments>http://www.onlyring.net/2008/06/12/web/htaccessxiugai.html#comments</comments>
		<pubDate>Thu, 12 Jun 2008 18:02:28 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://www.onlyring.net/2008/06/12/web/htaccessxiugai.html</guid>
		<description><![CDATA[<p>发现网站没有禁用file list，简单修改了一下.htaccess文件
里面的参数选项有很多都不懂，好在现在网上什么工具都有，
找到了一个图形化界面设置.htaccess的网站：http://www.htaccesseditor.com
用它生成了下面这个例子：
</p>

?View Code GETTEXT1
2
3
4
5
6
7
8
9
&#60;Files ~ &#34;^.(htaccess&#124;htpasswd)$&#34;&#62;
deny from all
&#60;/Files&#62;
Options -Indexes
RewriteEngine on
RewriteCond %&#123;HTTP_HOST&#125; ^&#40;onlyring\.net&#41;&#40;:80&#41;? &#91;NC&#93;
RewriteRule ^&#40;.*&#41; http://www.onlyring.net/$1 &#91;R=301,L&#93;
DirectoryIndex www.onlyring.net       
order deny,allow

<p>几个不错的关于.htaccess使用的网站:</p>
<p>http://www.javascriptkit.com/howto/htaccess.shtml</p>
<p>http://www.askapache.com/</p>
]]></description>
		<wfw:commentRss>http://www.onlyring.net/2008/06/12/web/htaccessxiugai.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

