﻿<?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; mod_rewrite</title>
	<atom:link href="http://www.yaoyingying.com/tag/mod_rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yaoyingying.com</link>
	<description>Everything you have seen here has been an illusion!</description>
	<lastBuildDate>Mon, 26 Jul 2010 05:17:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Debian/Ubuntu Apache Mod_Rewrite 安装</title>
		<link>http://www.yaoyingying.com/2009/09/21/debian-ubuntu-apache-mod_rewrite-%e5%ae%89%e8%a3%85/</link>
		<comments>http://www.yaoyingying.com/2009/09/21/debian-ubuntu-apache-mod_rewrite-%e5%ae%89%e8%a3%85/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 03:24:43 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=670</guid>
		<description><![CDATA[在终端中执行,我常常是使用putty 来远程连接的，这样省的在2个操作界面切换。 #debian a2enmod rewrite #ubuntu sudo a2enmod rewrite 指令后，即启用了 Mod_rewrite 模块。 另外，也可以通过将 /etc/apache2/mods-available/rewrite.load 连接到 /etc/apache2/mods-enabled/rewrite.load 来打开 Mod_rewrite 模块。用指令操作就是： #debian ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load #ubuntu sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load 一点小提示 事实上，当在Debian or Ubuntu 中采用上述做法并重启了 Apache 服务后，仍然无法正常 rewrite 网址。这里，还有一点需要注意的地方： sudo vim /etc/apache2/sites-enabled/000-default 将其中的： AllowOverride None 修改为： AllowOverride All 上面的 /etc/apache2/sites-enabled/000-default 实则为 /etc/apache2/sites-available/default 的连接。而 AllowwOverride None [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/09/21/debian-ubuntu-apache-mod_rewrite-%e5%ae%89%e8%a3%85/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache的rewrite的设置参数</title>
		<link>http://www.yaoyingying.com/2009/05/02/apache%e7%9a%84rewrite%e7%9a%84%e8%ae%be%e7%bd%ae%e5%8f%82%e6%95%b0/</link>
		<comments>http://www.yaoyingying.com/2009/05/02/apache%e7%9a%84rewrite%e7%9a%84%e8%ae%be%e7%bd%ae%e5%8f%82%e6%95%b0/#comments</comments>
		<pubDate>Sat, 02 May 2009 14:04:32 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[rewrite]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=243</guid>
		<description><![CDATA[Apache的rewrite的重写非常常用,现总结了一下. Apache mod_rewrite规则重写的标志一览 R[=code](force redirect) 强制外部重定向 强制在替代字符串加上http://thishost[:thisport]/前缀重定向到外部的URL.如果code不指定，将用缺省的302 HTTP状态码。 F(force URL to be forbidden)禁用URL,返回403HTTP状态码。 G(force URL to be gone) 强制URL为GONE，返回410HTTP状态码。 P(force proxy) 强制使用代理转发。 L(last rule) 表明当前规则是最后一条规则，停止分析以后规则的重写。 N(next round) 重新从第一条规则开始运行重写过程。 C(chained with next rule) 与下一条规则关联 如果规则匹配则正常处理，该标志无效，如果不匹配，那么下面所有关联的规则都跳过。 T=MIME-type(force MIME type) 强制MIME类型 NS (used only if no internal sub-request) 只用于不是内部子请求 NC(no case) 不区分大小写 QSA(query string append) 追加请求字符串 NE(no URI [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/05/02/apache%e7%9a%84rewrite%e7%9a%84%e8%ae%be%e7%bd%ae%e5%8f%82%e6%95%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
