<?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; discuz</title>
	<atom:link href="http://www.weijingtai.com/category/discuz/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.weijingtai.com</link>
	<description>Url rewrite 伪静态规则使用收集</description>
	<lastBuildDate>Mon, 14 Jun 2010 03:30:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>discuz X 伪静态规则-IIS -Nginx-Apache</title>
		<link>http://www.weijingtai.com/2010/05/07/discuz-x-iis-nginx-apache/</link>
		<comments>http://www.weijingtai.com/2010/05/07/discuz-x-iis-nginx-apache/#comments</comments>
		<pubDate>Fri, 07 May 2010 07:16:12 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[discuzx]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=119</guid>
		<description><![CDATA[康胜刚刚发布了discuz x beta 版本，在管理后台，全局 » 优化设置 » 搜索引擎优化 选中url静态化的选项即可，相关规则文件官方已经出示例]]></description>
			<content:encoded><![CDATA[<p>康胜刚刚发布了<a href="http://www.discuz.net/thread-1628349-1-1.html" target="_blank">discuz x beta </a>版本，在管理后台，全局 » 优化设置 » 搜索引擎优化 选中url静态化的选项即可，相关规则文件官方已经出示例，摘录如下：</p>
<p>IIS-Isapi</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">[ISAPI_Rewrite]
&nbsp;
[ISAPI_Rewrite]
&nbsp;
# 3600 = 1 hour
CacheClockRate 3600
&nbsp;
RepeatLimit 32
&nbsp;
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/topic-(.+)\.html\?*(.*)$ $1/portal\.php\?mod=topic&amp;topic=$2&amp;$3
RewriteRule ^(.*)/article-([0-9]+)\.html\?*(.*)$ $1/portal\.php\?mod=article&amp;articleid=$2&amp;$3
RewriteRule ^(.*)/forum-(\w+)-([0-9]+)\.html\?*(.*)$ $1/forum\.php\?mod=forumdisplay&amp;fid=$2&amp;page=$3&amp;$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forum\.php\?mod=viewthread&amp;tid=$2&amp;extra=page\%3D$4&amp;page=$3&amp;$5
RewriteRule ^(.*)/group-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forum\.php\?mod=group&amp;fid=$2&amp;page=$3&amp;$4
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/home\.php\?mod=space&amp;$2=$3&amp;$4
RewriteRule ^(.*)/([a-z]+)-(.+)\.html\?*(.*)$ $1/$2\.php\?rewrite=$3&amp;$4</pre></div></div>

<p><span id="more-119"></span><br />
Apache</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;"># 将 RewriteEngine 模式打开
RewriteEngine On
&nbsp;
# 修改以下语句中的 /discuz 为你的论坛目录地址，如果程序放在根目录中，请将 /discuz 修改为 /
RewriteBase /discuz
&nbsp;
# Rewrite 系统规则请勿修改
RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&amp;topic=$1
RewriteRule ^article-([0-9]+)\.html$ portal.php?mod=article&amp;articleid=$1
RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&amp;fid=$1&amp;page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&amp;tid=$1&amp;extra=page\%3D$3&amp;page=$2
RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&amp;fid=$1&amp;page=$2
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&amp;$1=$2
RewriteRule ^([a-z]+)-(.+)\.html$ $1.php?rewrite=$2</pre></div></div>

<p>Nginx Web Server</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">rewrite ^(.*)/topic-(.+)\.html$ $1/portal.php?mod=topic&amp;topic=$2 last;
rewrite ^(.*)/article-([0-9]+)\.html$ $1/portal.php?mod=article&amp;articleid=$2 last;
rewrite ^(.*)/forum-(\w+)-([0-9]+)\.html$ $1/forum.php?mod=forumdisplay&amp;fid=$2&amp;page=$3 last;
rewrite ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=viewthread&amp;tid=$2&amp;extra=page%3D$4&amp;page=$3 last;
rewrite ^(.*)/group-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=group&amp;fid=$2&amp;page=$3 last;
rewrite ^(.*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&amp;$2=$3 last;
rewrite ^(.*)/([a-z]+)-(.+)\.html$ $1/$2.php?rewrite=$3 last;</pre></div></div>

<p>IIS用户可直接下载些httpd.ini文件放至网站根目录下  <a class="downloadlink dlimg" href="http://www.weijingtai.com/wp-content/plugins/download-monitor/download.php?id=15" title="Version beta downloaded 685 times" ><img src="http://www.weijingtai.com/wp-content/uploads/2009/04/download.png" alt="Download discuzx Version beta" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2010/05/07/discuz-x-iis-nginx-apache/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>uchome rewrite for nginx</title>
		<link>http://www.weijingtai.com/2010/03/27/uchome-rewrite-nginx/</link>
		<comments>http://www.weijingtai.com/2010/03/27/uchome-rewrite-nginx/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 18:36:11 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[uchome]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=118</guid>
		<description><![CDATA[ngnix下uchome的伪静态规则，可以和discuz的规则合用]]></description>
			<content:encoded><![CDATA[<p>ngnix下uchome的伪静态规则，可以和<a href="http://www.weijingtai.com/2010/03/27/discuz-rewrite-nginx">discuz</a>的规则合用</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">location / {
     rewrite ^(.*)/(space|network)\-(.+)\.html$ $1/$2.php?rewrite=$3 last;
     rewrite ^(.*)/(space|network)\.html$ $1/$2.php last;
     rewrite ^(.*)/([0-9]+)$ $1/space.php?uid=$2 last;
        }</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2010/03/27/uchome-rewrite-nginx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>discuz rewrite for nginx</title>
		<link>http://www.weijingtai.com/2010/03/27/discuz-rewrite-nginx/</link>
		<comments>http://www.weijingtai.com/2010/03/27/discuz-rewrite-nginx/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 18:28:24 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=116</guid>
		<description><![CDATA[discuz 在nginx下的伪静态规则！ （ps：discuz的伪静态规则 ，一般情况下是通用的，不必区分是discuz6还是7）]]></description>
			<content:encoded><![CDATA[<p>discuz 在nginx下的伪静态规则！ （ps：discuz的伪静态规则 ，一般情况下是通用的，不必区分是discuz6还是7）</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">location / {
      rewrite ^(.*)/archiver/((fid|tid)-[\w\-]+\.html)$ $1/archiver/index.php?$2 last;
      rewrite ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay.php?fid=$2&amp;amp;page=$3 last;
      rewrite ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread.php?tid=$2&amp;amp;extra=page%3D$4&amp;amp;page=$3 last;
      rewrite ^(.*)/profile-(username|uid)-(.+)\.html$ $1/viewpro.php?$2=$3 last;
      rewrite ^(.*)/space-(username|uid)-(.+)\.html$ $1/space.php?$2=$3 last;
      rewrite ^(.*)/tag-(.+)\.html$ $1/tag.php?name=$2 last;
        }</pre></div></div>

<p><a href="http://www.weijingtai.com/2010/03/27/uchome-rewrite-nginx/">Uchome的在这里</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2010/03/27/discuz-rewrite-nginx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>discuz uchome IIS7 rewrite规则</title>
		<link>http://www.weijingtai.com/2010/03/17/discuz-uchome-iis7-rewrite/</link>
		<comments>http://www.weijingtai.com/2010/03/17/discuz-uchome-iis7-rewrite/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 12:51:09 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[IIS7-rewrite]]></category>
		<category><![CDATA[discuz]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[rewrite]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=112</guid>
		<description><![CDATA[discuz和uchome 在IIS7 默认rewrite模块下的伪静态规则]]></description>
			<content:encoded><![CDATA[<p>将以下内容添加到web.config文件中即可</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;configuration&gt;
&lt;system.webServer&gt;
&lt;rewrite&gt;
            &lt;rules&gt;
                &lt;rule name=&quot;Imported Rule 17&quot;&gt;
                    &lt;match url=&quot;^archiver/((fid|tid)-[\w\-]+\.html)$&quot; ignoreCase=&quot;false&quot; /&gt;
                    &lt;action type=&quot;Rewrite&quot; url=&quot;archiver/index.php?{R:1}&quot; appendQueryString=&quot;false&quot; /&gt;
                &lt;/rule&gt;
                &lt;rule name=&quot;Imported Rule 18&quot;&gt;
                    &lt;match url=&quot;^forum-([0-9]+)-([0-9]+)\.html$&quot; ignoreCase=&quot;false&quot; /&gt;
                    &lt;action type=&quot;Rewrite&quot; url=&quot;forumdisplay.php?fid={R:1}&amp;amp;page={R:2}&quot; appendQueryString=&quot;false&quot; /&gt;
                &lt;/rule&gt;
                &lt;rule name=&quot;Imported Rule 19&quot;&gt;
                    &lt;match url=&quot;^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$&quot; ignoreCase=&quot;false&quot; /&gt;
                    &lt;action type=&quot;Rewrite&quot; url=&quot;viewthread.php?tid={R:1}&amp;amp;extra=page\%3D{R:3}&amp;amp;page={R:2}&quot; appendQueryString=&quot;false&quot; /&gt;
                &lt;/rule&gt;
                &lt;rule name=&quot;Imported Rule 20&quot;&gt;
                    &lt;match url=&quot;^space-(username|uid)-(.+)\.html$&quot; ignoreCase=&quot;false&quot; /&gt;
                    &lt;action type=&quot;Rewrite&quot; url=&quot;space.php?{R:1}={R:2}&quot; appendQueryString=&quot;false&quot; /&gt;
                &lt;/rule&gt;
                &lt;rule name=&quot;Imported Rule 21&quot;&gt;
                    &lt;match url=&quot;^tag-(.+)\.html$&quot; ignoreCase=&quot;false&quot; /&gt;
                    &lt;action type=&quot;Rewrite&quot; url=&quot;tag.php?name={R:1}&quot; appendQueryString=&quot;false&quot; /&gt;
                &lt;/rule&gt;
            &lt;/rules&gt;
&lt;/rewrite&gt;
&lt;/system.webServer&gt;
&lt;/configuration&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2010/03/17/discuz-uchome-iis7-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uchome独立使用的伪静态规则</title>
		<link>http://www.weijingtai.com/2009/05/29/uchome-rewrite/</link>
		<comments>http://www.weijingtai.com/2009/05/29/uchome-rewrite/#comments</comments>
		<pubDate>Fri, 29 May 2009 07:04:32 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[uchome]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=100</guid>
		<description><![CDATA[最近有朋友在空间主目录下只装了uchome,问到要如何设置伪静态，其它在之前发过的uchome和dz共用的规则文件，稍改动一下就可以使用，不会改的直接下载下面这个规则文件使用吧，如果你的uchome不是安装在子目录的话。]]></description>
			<content:encoded><![CDATA[<p>最近有朋友在空间主目录下只装了uchome,问到要如何设置伪静态，其它在之前发过的<a href="http://www.weijingtai.com/2009/04/16/uchome-discuz/">uchome和dz共用的规则</a>文件，稍改动一下就可以使用，不会改的直接下载下面这个规则文件使用吧，如果你的uchome不是安装在子目录的话。</p>
<a class="downloadlink dlimg" href="http://www.weijingtai.com/wp-content/plugins/download-monitor/download.php?id=10" title="Version 1.5 downloaded 945 times" ><img src="http://www.weijingtai.com/wp-content/uploads/2009/04/download.png" alt="Download uchome Version 1.5" /></a>
]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2009/05/29/uchome-rewrite/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>UChome和discuz共用的伪静态规则</title>
		<link>http://www.weijingtai.com/2009/04/16/uchome-discuz/</link>
		<comments>http://www.weijingtai.com/2009/04/16/uchome-discuz/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 09:38:42 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[isapi]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[uchome]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=69</guid>
		<description><![CDATA[UChome 和Discuz共用的伪静态规则文件，默认UChome安装目录为/home，可以根据自己实际安装目录更改使用。

压缩包包含httpd.ini和.htaccess文件，请根据 自己使用的主机系统选择使用。]]></description>
			<content:encoded><![CDATA[<p>UChome 和Discuz共用的伪静态规则文件。</p>
<p>压缩包包含httpd.ini和.htaccess文件，请根据 自己使用的主机系统选择使用。</p>
<p><span id="more-69"></span></p>
<a class="downloadlink dlimg" href="http://www.weijingtai.com/wp-content/plugins/download-monitor/download.php?id=6" title="Version 7.0-1.5 downloaded 902 times" ><img src="http://www.weijingtai.com/wp-content/uploads/2009/04/download.png" alt="Download UChome和discuz共用的伪静态规则 Version 7.0-1.5" /></a>
]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2009/04/16/uchome-discuz/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>discuz 7.0 伪静态 设置及规则下载</title>
		<link>http://www.weijingtai.com/2009/04/09/discuz-70-rewrite-rule/</link>
		<comments>http://www.weijingtai.com/2009/04/09/discuz-70-rewrite-rule/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 14:45:08 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[discuz]]></category>
		<category><![CDATA[7.0]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[isapi]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=53</guid>
		<description><![CDATA[discuz 7.0 的伪静态规则 ，包括win主机常用httpd.ini和linux下常用的.htaccess规则文件]]></description>
			<content:encoded><![CDATA[<p>discuz 7.0 的伪静态规则 ，包括win主机常用httpd.ini和linux下常用的.htaccess规则文件</p>
<p>首先下载提供的伪静态规则放入网站根目录，然后进入discuz系统设置后台，按下图将url静态化的选项勾选，即可启用discuz伪静态</p>
<p><span id="more-53"></span></p>
<p><a href="http://www.weijingtai.com/wp-content/uploads/2009/04/discuzrewrite.png"><img class="alignnone size-full wp-image-56" title="discuzrewrite" src="http://www.weijingtai.com/wp-content/uploads/2009/04/discuzrewrite.png" alt="discuzrewrite" width="597" height="578" /></a></p>
<a class="downloadlink dlimg" href="http://www.weijingtai.com/wp-content/plugins/download-monitor/download.php?id=4" title="Version 7.0 downloaded 1146 times" ><img src="http://www.weijingtai.com/wp-content/uploads/2009/04/download.png" alt="Download discuz 7.0 伪静态规则 Version 7.0" /></a>
<h4 style="display: block;">Discuz! 7.0.0 更新日志</h4>
<div style="display: block;">
<ul>
<li>【全新】社区 UI 设计，开创性操作引导和页面布局，大幅度提升会员使用体验</li>
<li>【全新】风格模板体系，打造个性化论坛风格更容易，论坛展现效果更突出</li>
<li>【全新】论坛风格可视化编辑器，支持在线设计风格，可实时预览设计效果</li>
<li>【全新】论坛风格管理系统，风格安装、卸载一键完成，支持风格效果图</li>
<li>【内置】16 款精心设计的炫酷风格和 7 套模板，供各种类型的站点选用，个性十足</li>
<li>【全新】论坛任务系统，进一步增强社区会员的互动行为，可利用任务增强社区的粘性、增加活跃度</li>
<li>【内置】会员类、帖子类、红包类、推广类、头像类 5 种论坛任务，轻松设计各种论坛任务</li>
<li>【支持】任务衍生，每类任务可根据申请条件、完成条件、奖励内容衍生出无数种任务</li>
<li>【支持】自定义任务脚本，内置自定义任务的安装、升级、卸载、配置、条件判断、管理接口，任务拓展极为容易</li>
<li>【支持】系列化任务，每个任务之间可以设置关联性，形成类似 RPG 游戏类型任务，吸引会员持续参与</li>
<li>【支持】多种任务奖励模式，可奖励任意某种积分、道具或拥有高级权限的特殊组，完成任务后自动发送奖励通知</li>
<li>【支持】任务自动上线和下线以及周期性任务，管理员设定好以后，可安心其他管理，无需每日牵挂</li>
<li>【支持】会员任务提醒，当会员有未完成任务时随时提醒会员，并可随时查看任务执行的进度情况</li>
<li>【新增】注册、登录、发帖等常规操作的悬窗设计，减少用户页面切换行为和次数，增强论坛操作的易用性</li>
<li>【新增】注册、登录、发帖等常规操作的提示信息设计，管理员可设置每种操作的提示信息，并支持多条信息随机展示</li>
<li>【新增】注册 &#8211; 新手任务设置，当会员注册完毕，可以立即提醒进行某个任务，在完成任务后才能拥有正常权限</li>
<li>【新增】发帖 &#8211; 附件批量上传，会员可预先上传多个附件而后再发帖，在网络环境不好的情况下，提高发帖成功率</li>
<li>【新增】发帖 &#8211; Feed隐私设置，用户可选择是否在个人空间中公开自己的发帖或者回帖行为………………</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2009/04/09/discuz-70-rewrite-rule/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

