<?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>《自动将Apache Rewrite伪静态规则转换为Nginx Rewrite》的评论</title>
	<atom:link href="http://blog.licess.org/convert-apache-htaccess-to-nginx/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/</link>
	<description>关注VPS Linux Nginx MySQL PHP WEB开发 系统管理 服务器架构 Debian CentOS</description>
	<lastBuildDate>Thu, 12 Jan 2012 08:00:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>作者：翔仔</title>
		<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/comment-page-1/#comment-5748</link>
		<dc:creator>翔仔</dc:creator>
		<pubDate>Wed, 09 Jun 2010 04:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.licess.cn/%e8%87%aa%e5%8a%a8%e5%b0%86apache-rewrite%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99%e8%bd%ac%e6%8d%a2%e4%b8%banginx-rewrite/#comment-5748</guid>
		<description>有两个问题！麻烦你了

（1）那我想自定义404 不知道如何在Nginx Rewrite下写 就是希望404读取站点下/404.html

（2）还有可否问一下 如果定义好了404 页面 
我想实现 网站改版后就得地址跳转到我另外一个原先网站的域名，即现在访问的Http://xxx.com/1234.html不存在该页，但让他们访问Http://yyy.com/1234.html 就是网页自动读取当前页的地址 自动把xxx.com修改成yyy.com  可否说一下如何实现</description>
		<content:encoded><![CDATA[<p>有两个问题！麻烦你了</p>
<p>（1）那我想自定义404 不知道如何在Nginx Rewrite下写 就是希望404读取站点下/404.html</p>
<p>（2）还有可否问一下 如果定义好了404 页面<br />
我想实现 网站改版后就得地址跳转到我另外一个原先网站的域名，即现在访问的Http://xxx.com/1234.html不存在该页，但让他们访问Http://yyy.com/1234.html 就是网页自动读取当前页的地址 自动把xxx.com修改成yyy.com  可否说一下如何实现</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：licess</title>
		<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/comment-page-1/#comment-5747</link>
		<dc:creator>licess</dc:creator>
		<pubDate>Wed, 09 Jun 2010 03:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.licess.cn/%e8%87%aa%e5%8a%a8%e5%b0%86apache-rewrite%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99%e8%bd%ac%e6%8d%a2%e4%b8%banginx-rewrite/#comment-5747</guid>
		<description>@翔仔, nginx不支持.htaccess文件</description>
		<content:encoded><![CDATA[<p>@翔仔, nginx不支持.htaccess文件</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：licess</title>
		<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/comment-page-1/#comment-5746</link>
		<dc:creator>licess</dc:creator>
		<pubDate>Wed, 09 Jun 2010 03:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.licess.cn/%e8%87%aa%e5%8a%a8%e5%b0%86apache-rewrite%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99%e8%bd%ac%e6%8d%a2%e4%b8%banginx-rewrite/#comment-5746</guid>
		<description>@翔仔, 转换后，把转换的内容添加到/usr/local/nginx/conf/ppvod.conf 里面重启就可以了。</description>
		<content:encoded><![CDATA[<p>@翔仔, 转换后，把转换的内容添加到/usr/local/nginx/conf/ppvod.conf 里面重启就可以了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：翔仔</title>
		<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/comment-page-1/#comment-5745</link>
		<dc:creator>翔仔</dc:creator>
		<pubDate>Wed, 09 Jun 2010 01:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.licess.cn/%e8%87%aa%e5%8a%a8%e5%b0%86apache-rewrite%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99%e8%bd%ac%e6%8d%a2%e4%b8%banginx-rewrite/#comment-5745</guid>
		<description>网上还有“谁说nginx不支持.htaccess文件？”http://www.linuxv.com/Server_Platform_Suite/Nginx/6091.html

不知道可行么  我是用的LNMP一键安装包 0.4</description>
		<content:encoded><![CDATA[<p>网上还有“谁说nginx不支持.htaccess文件？”http://www.linuxv.com/Server_Platform_Suite/Nginx/6091.html</p>
<p>不知道可行么  我是用的LNMP一键安装包 0.4</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：翔仔</title>
		<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/comment-page-1/#comment-5744</link>
		<dc:creator>翔仔</dc:creator>
		<pubDate>Wed, 09 Jun 2010 01:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.licess.cn/%e8%87%aa%e5%8a%a8%e5%b0%86apache-rewrite%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99%e8%bd%ac%e6%8d%a2%e4%b8%banginx-rewrite/#comment-5744</guid>
		<description>我的rewrite 规则是：
# 将 RewriteEngine 模式打开
RewriteEngine On
# 修改以下语句中的 /ppvod 为你的网站目录地址，如果程序放在根目录中，请将 /ppvod 修改为 /
RewriteBase /
# Rewrite 系统规则请勿修改
RewriteRule ^vod-(.*)$ index.php\?s=/Home-vod-$1
RewriteRule ^news-(.*)$ index.php\?s=/Home-news-$1
RewriteRule ^ajax-(.*)$ index.php\?s=/Home-ajax-$1
RewriteRule ^tag-(.*)$ index.php\?s=/Home-tag-$1
RewriteRule ^gb-(.*)$ index.php\?s=/Home-gb-$1

我是安装的LNMP一键安装包 0.4
虚拟主机管理Create rewirte file successful,now you can add rewrite rule into /usr/local/nginx/conf/ppvod.conf.
Test Nginx configure file......

但是我按照上面程序转换后 不会操作  可否详细讲解下  我是新手</description>
		<content:encoded><![CDATA[<p>我的rewrite 规则是：<br />
# 将 RewriteEngine 模式打开<br />
RewriteEngine On<br />
# 修改以下语句中的 /ppvod 为你的网站目录地址，如果程序放在根目录中，请将 /ppvod 修改为 /<br />
RewriteBase /<br />
# Rewrite 系统规则请勿修改<br />
RewriteRule ^vod-(.*)$ index.php\?s=/Home-vod-$1<br />
RewriteRule ^news-(.*)$ index.php\?s=/Home-news-$1<br />
RewriteRule ^ajax-(.*)$ index.php\?s=/Home-ajax-$1<br />
RewriteRule ^tag-(.*)$ index.php\?s=/Home-tag-$1<br />
RewriteRule ^gb-(.*)$ index.php\?s=/Home-gb-$1</p>
<p>我是安装的LNMP一键安装包 0.4<br />
虚拟主机管理Create rewirte file successful,now you can add rewrite rule into /usr/local/nginx/conf/ppvod.conf.<br />
Test Nginx configure file......</p>
<p>但是我按照上面程序转换后 不会操作  可否详细讲解下  我是新手</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：clittle</title>
		<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/comment-page-1/#comment-4722</link>
		<dc:creator>clittle</dc:creator>
		<pubDate>Sat, 26 Dec 2009 05:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.licess.cn/%e8%87%aa%e5%8a%a8%e5%b0%86apache-rewrite%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99%e8%bd%ac%e6%8d%a2%e4%b8%banginx-rewrite/#comment-4722</guid>
		<description>有些转了也不行的，可能是本身的写的不是很规则</description>
		<content:encoded><![CDATA[<p>有些转了也不行的，可能是本身的写的不是很规则</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：licess</title>
		<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/comment-page-1/#comment-4590</link>
		<dc:creator>licess</dc:creator>
		<pubDate>Thu, 03 Dec 2009 14:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.licess.cn/%e8%87%aa%e5%8a%a8%e5%b0%86apache-rewrite%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99%e8%bd%ac%e6%8d%a2%e4%b8%banginx-rewrite/#comment-4590</guid>
		<description>嘻嘻，这个程序很好用</description>
		<content:encoded><![CDATA[<p>嘻嘻，这个程序很好用</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Jackie</title>
		<link>http://blog.licess.org/convert-apache-htaccess-to-nginx/comment-page-1/#comment-4583</link>
		<dc:creator>Jackie</dc:creator>
		<pubDate>Thu, 03 Dec 2009 01:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.licess.cn/%e8%87%aa%e5%8a%a8%e5%b0%86apache-rewrite%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99%e8%bd%ac%e6%8d%a2%e4%b8%banginx-rewrite/#comment-4583</guid>
		<description>这个对于在Nginx下运行程序的比较有用，我见到过一些人在寻求Nginx下的WordPress的Rewrite规则，现在他们可以直接自己去转换了。</description>
		<content:encoded><![CDATA[<p>这个对于在Nginx下运行程序的比较有用，我见到过一些人在寻求Nginx下的WordPress的Rewrite规则，现在他们可以直接自己去转换了。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

