<?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>滨河的博客_安卓应用 语言博客 网站seo 财经股票 生活学习 &#187; admin</title>
	<atom:link href="http://www.8he.cn/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.8he.cn</link>
	<description>涉及股票的只是聊聊,请别作为投资依据。</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:32:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>linux服务器Nginx环境 成功配置Zencart伪静态规则</title>
		<link>http://www.8he.cn/%e7%a9%ba%e9%97%b4%e5%9f%9f%e5%90%8d/zencart%e4%b8%8a%e7%9a%84nginx-%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99.html</link>
		<comments>http://www.8he.cn/%e7%a9%ba%e9%97%b4%e5%9f%9f%e5%90%8d/zencart%e4%b8%8a%e7%9a%84nginx-%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99.html#comments</comments>
		<pubDate>Mon, 23 May 2011 01:41:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[空间域名]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Zencart]]></category>

		<guid isPermaLink="false">http://www.8he.cn/?p=111</guid>
		<description><![CDATA[花了2个小时折腾，亲测，成功reload，可以使用。代码网上搜来，去掉一些多余的代码。首先zencart要安装Ultimate SEO URLs模块，安装好后就到nginx下相应的conf文件夹新建一个zencart.conf规则文件。 nginx虚拟主机配置实例 1、在/usr/local/nginx/conf/nginx.conf文件末尾加入虚拟主机配置，实例如下： server { listen 80; server_name www.换成你的域名.com; index index.html index.htm index.php default.html default.htm default.php; root /home/wwwroot/antex; 这里要改为你的网站文件夹目录 include zencart.conf; location ~ .*\.(php&#124;php5)?$ { fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fcgi.conf; } access_log off; } 2、 在/usr/local/nginx/conf/ 文件夹里新建一个zencart.conf 然后putty那输入： vi /usr/local/nginx/conf/zencart.conf 再输入以下规则： location / { if (!-e $request_filename) { #————————zen-cart start—————— # From [...]]]></description>
			<content:encoded><![CDATA[<p>花了2个小时折腾，亲测，成功reload，可以使用。代码网上搜来，去掉一些多余的代码。首先zencart要安装Ultimate SEO URLs模块，安装好后就到nginx下相应的conf文件夹新建一个zencart.conf规则文件。</p>
<p>nginx虚拟主机配置实例<br />
1、在/usr/local/nginx/conf/nginx.conf文件末尾加入虚拟主机配置，实例如下：</p>
<pre>server
	{
		listen       80;
		server_name www.<span style="color: #ff0000;">换成你的域名</span>.com;
		index index.html index.htm index.php default.html default.htm default.php;
		root  /home/wwwroot/antex; <span style="color: #ff0000;">这里要改为你的网站文件夹目录</span>

		include zencart.conf;

		location ~ .*\.(php|php5)?$
			{
				fastcgi_pass  unix:/tmp/php-cgi.sock;
				fastcgi_index index.php;
				include fcgi.conf;
			}
		access_log off;
	}

2、
在/usr/local/nginx/conf/  文件夹里新建一个zencart.conf</pre>
<pre>然后putty那输入：

vi /usr/local/nginx/conf/zencart.conf 

再输入以下规则：

location / {

if (!-e $request_filename)
{
#————————zen-cart start——————

# From Ultimate SEO URLs
rewrite "^(.*)-p-(.*).html" /index.php?main_page=product_info&amp;products_id=$2&amp;% last;
rewrite "^(.*)-c-(.*).html" /index.php?main_page=index&amp;cPath=$2&amp;% last;
rewrite "^(.*)-m-([0-9]+).html" /index.php?main_page=index&amp;manufacturers_id=$2&amp;% last;
rewrite "^(.*)-pi-([0-9]+).html" /index.php?main_page=popup_image&amp;pID=$2&amp;% last;
rewrite "^(.*)-pr-([0-9]+).html" /index.php?main_page=product_reviews&amp;products_id=$2&amp;% last;
rewrite "^(.*)-pri-([0-9]+).html" /index.php?main_page=product_reviews_info&amp;products_id=$2&amp;% last;

# For Open Operations Info Manager
rewrite "^(.*)-i-([0-9]+).html" /index.php?main_page=info_manager&amp;pages_id=$2&amp;% last;

# For dreamscape’s News &amp; Articles Manager
rewrite "^news/?" /index.php?main_page=news&amp;% last;
rewrite "^news/rss.xml" /index.php?main_page=news_rss&amp;% last;
rewrite "^news/archive/?" /index.php?main_page=news_archive&amp;% last;
rewrite "^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html" /index.php?main_page=news&amp;date=$1-$2-$3&amp;% last;
rewrite "^news/archive/([0-9]{4})-([0-9]{2}).html" /index.php?main_page=news_archive&amp;date=$1-$2&amp;% last;
rewrite "^news/(.*)-a-([0-9]+)-comments.html" /index.php?main_page=news_comments&amp;article_id=$2&amp;% last;
rewrite "^news/(.*)-a-([0-9]+).html" /index.php?main_page=news_article&amp;article_id=$2&amp;% last;

# All other pages
# Don’t rewrite real files or directories
#RewriteCond %{REQUEST_FILENAME} !-f [NC]
#RewriteCond %{REQUEST_FILENAME} !-d
rewrite "^(.*).html" /index.php?main_page=$1&amp;% last;
#—————————-zen-cart end—————–

}
}</pre>
<p>保存后，运行 kill -HUP `cat /usr/local/nginx/nginx.pid` 平滑重启即可生效。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.8he.cn/%e7%a9%ba%e9%97%b4%e5%9f%9f%e5%90%8d/zencart%e4%b8%8a%e7%9a%84nginx-%e4%bc%aa%e9%9d%99%e6%80%81%e8%a7%84%e5%88%99.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hello world！</title>
		<link>http://www.8he.cn/chashuijian/hello-world.html</link>
		<comments>http://www.8he.cn/chashuijian/hello-world.html#comments</comments>
		<pubDate>Fri, 23 Jul 2010 02:45:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[茶水间]]></category>
		<category><![CDATA[seo赚钱]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[股票]]></category>

		<guid isPermaLink="false">http://www.8he.cn/?p=1</guid>
		<description><![CDATA[欢迎使用 WordPress 。这是系统自动生成的演示文章。编辑或者删除它，开始您的博客！ 为了感谢Wordpress提供了这么好用的程序，决定保留这文章，开始作为本博的第一篇文章。 今后将坚持写关于英文seo，外贸seo，seo赚钱等为主题的原创文章，快乐分享这几年来的赚钱心得。 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;时空分割线&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; 2011年3月27日 后来发现自己还是喜欢财经和股票多一些，网站也是兴趣爱好兼工作，但能让我静下心来写一些文章的，还是股票，就此改为股票财经类文章，记录一些股市的观察，让这个博客慢慢的陪自己成长。]]></description>
			<content:encoded><![CDATA[<p>欢迎使用 WordPress 。这是系统自动生成的演示文章。编辑或者删除它，开始您的博客！</p>
<p> <img src='http://www.8he.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  为了感谢Wordpress提供了这么好用的程序，决定保留这文章，开始作为本博的第一篇文章。</p>
<p>今后将坚持写关于<strong><a href="http://www.8he.cn/">英文seo</a></strong>，<strong><a href="http://www.8he.cn/">外贸seo</a></strong>，<strong><a href="http://www.8he.cn/">seo赚钱</a></strong>等为主题的原创文章，快乐分享这几年来的赚钱心得。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;时空分割线&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>2011年3月27日</p>
<p>后来发现自己还是喜欢财经和<span class='wp_keywordlink'><a href="http://www.8he.cn" title="股票">股票</a></span>多一些，网站也是兴趣爱好兼工作，但能让我静下心来写一些文章的，还是股票，就此改为股票财经类文章，记录一些<span class='wp_keywordlink'><a href="http://www.8he.cn" title="股市">股市</a></span>的观察，让这个博客慢慢的陪自己成长。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.8he.cn/chashuijian/hello-world.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

