̨α̬ԼӦα̬򼴿.




Apache Web Server(û):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/page-([0-9]+)\.html$ $1/plugin.php?id=comiis_app_portal&pid=$2&%1
</IfModule>







Apache Web Server(û):
#  RewriteEngine ģʽ
RewriteEngine On

# ޸е /discuz Ϊ̳Ŀ¼ַڸĿ¼У뽫 /discuz ޸Ϊ /
RewriteBase /discuz

RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^page-([0-9]+)\.html$ plugin.php?id=comiis_app_portal&pid=$1&%1







IIS Web Server(û):
[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/page-([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=comiis_app_portal&pid=$2&$4






IIS7 Web Server(û):
<rewrite>
<rules>
<rule name="page">
<match url="^(.*/)*page-([0-9]+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=comiis_app_portal&amp;pid={R:2}&amp;{R:3}" />
</rule>
</rules>
</rewrite>





Zeus Web Server:
match URL into $ with ^(.*)/page-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/plugin.php?id=comiis_app_portal&pid=$2&$3
endif





Nginx Web Server:
rewrite ^([^\.]*)/page-([0-9]+)\.html$ $1/plugin.php?id=comiis_app_portal&pid=$2 last;
if (!-e $request_filename) {
return 404;
}