<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[静怡家园]]></title> 
<link>http://www.zhanghaijun.com/index.php</link> 
<description><![CDATA[书山有路勤为径，学海无涯苦作舟！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[静怡家园]]></copyright>
<item>
<link>http://www.zhanghaijun.com/zencart_nginx_rewrite/</link>
<title><![CDATA[Zencart伪静态规则for Nginx]]></title> 
<author>碟舞飞扬 &lt;webmaster@zhanghaijun.com&gt;</author>
<category><![CDATA[博客首页]]></category>
<pubDate>Thu, 21 Apr 2011 01:08:26 +0000</pubDate> 
<guid>http://www.zhanghaijun.com/zencart_nginx_rewrite/</guid> 
<description>
<![CDATA[ 
	# if the requested file exists, return it immediately<br/>if (-f $request_filename) &#123;<br/>break;<br/>&#125;<br/><br/>rewrite “^/(.*)-p-(.*).html$” /index.php?main_page=product_info&products_id=$2&% last;<br/>rewrite “^/(.*)-c-(.*).html$” /index.php?main_page=index&cPath=$2&% last;<br/>rewrite “^/(.*)-m-([0-9]+).html$” /index&#92;.php?main_page=index&manufacturers_id=$2&% last;<br/>rewrite “^/(.*)-pi-([0-9]+).html$” /index&#92;.php?main_page=popup_image&pID=$2&% last;<br/>rewrite “^/(.*)-pr-([0-9]+).html$” /index&#92;.php?main_page=product_reviews&products_id=$2&% last;<br/>rewrite “^/(.*)-pri-([0-9]+).html$” /index&#92;.php?main_page=product_reviews_info&products_id=$2&% last;<br/># For wordpress on zencart by Jeff<br/>rewrite “^/wp/(.*).html$” /index.php?main_page=wordpress&page_id=$1&% last;<br/><br/># For eazy pages<br/>rewrite “^/(.*)-ezp-([0-9]+).html$” /index&#92;.php?main_page=page&id=$2&% last;<br/><br/># For Open Operations Info Manager<br/>rewrite “^(.*)-i-([0-9]+).html” /index.php?main_page=info_manager&pages_id=$2&% last;<br/><br/># For dreamscape¡¯s News & Articles Manager<br/>rewrite “^news/?” /index.php?main_page=news&% last;<br/>rewrite “^news/rss.xml” /index.php?main_page=news_rss&% last;<br/>rewrite “^news/archive/?” /index.php?main_page=news_archive&% last;<br/>rewrite “^news/([0-9]&#123;4&#125;)-([0-9]&#123;2&#125;)-([0-9]&#123;2&#125;).html” /index.php?main_page=news&date=$1-$2-$3&% last;<br/>rewrite “^news/archive/([0-9]&#123;4&#125;)-([0-9]&#123;2&#125;).html” /index.php?main_page=news_archive&date=$1-$2&% last;<br/>rewrite “^news/(.*)-a-([0-9]+)-comments.html” /index.php?main_page=news_comments&article_id=$2&% last;<br/>rewrite “^news/(.*)-a-([0-9]+).html” /index.php?main_page=news_article&article_id=$2&% last;<br/><br/># All other pages<br/># Don‘t rewrite real files or directories<br/>rewrite “^(.*).html” /index.php?main_page=$1&% last;<br/>Tags - <a href="http://www.zhanghaijun.com/tags/zencart/" rel="tag">zencart</a> , <a href="http://www.zhanghaijun.com/tags/nginx/" rel="tag">nginx</a> , <a href="http://www.zhanghaijun.com/tags/rewrite/" rel="tag">rewrite</a>
]]>
</description>
</item><item>
<link>http://www.zhanghaijun.com/zencart_nginx_rewrite/#blogcomment</link>
<title><![CDATA[[评论] Zencart伪静态规则for Nginx]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.zhanghaijun.com/zencart_nginx_rewrite/#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>