不知道服务器怎么配置开启静态,请自行百度或咨询空间商客服。
添加规则后没生效,请尝试重启服务器,重启服务器,重启服务器。
=====================Apache Web Server规则=====================(分割线不需要复制)
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special\.html$ plugin.php?id=xlwsq_zt
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_zt:xlwsq_zt&a=$1&b=$2&m=$3&n=$4
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_zt:xlwsq_zt&a=$1&b=$2&m=$3&n=$4&page=$5
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ plugin.php?id=xlwsq_zt&a=$1&b=$2&m=$3&n=$4&tj=t
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_top\.html$ plugin.php?id=xlwsq_zt&a=$1&b=$2&m=$3&n=$4&top=top
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special_([0-9]+)\.html$ plugin.php?id=xlwsq_zt&mod=view&sid=$1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special_user\.html$ plugin.php?id=xlwsq_zt:xlwsq_zt_user
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special_user_add\.html$ plugin.php?id=xlwsq_zt:xlwsq_zt_user&p=add
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html$ plugin.php?id=xlwsq_zt&a=$1&b=$2&m=$3&n=$4&rq=rq
复制代码- RewriteRule ^(.*)/special\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt
- RewriteRule ^(.*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5
- RewriteRule ^(.*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5&tj=t
- RewriteRule ^(.*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_top\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5&top=top
- RewriteRule ^(.*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5&page=$6
- RewriteRule ^(.*)/special_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt&mod=view&sid=$2
- RewriteRule ^(.*)/special_user\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt:xlwsq_zt_user
- RewriteRule ^(.*)/special_user_add\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt:xlwsq_zt_user&p=add
- RewriteRule ^(.*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5&rq=rq
复制代码- <rule name="special1">
- <match url="^(.*/)*special.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt" />
- </rule>
- <rule name="special2">
- <match url="^(.*/)*special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt:xlwsq_zt&a={R:2}&b={R:3}&m={R:4}&n={R:5}" />
- </rule>
- <rule name="special3">
- <match url="^(.*/)*special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt:xlwsq_zt&a={R:2}&b={R:3}&m={R:4}&n={R:5}&tj=t" />
- </rule>
- <rule name="special4">
- <match url="^(.*/)*special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_top.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt:xlwsq_zt&a={R:2}&b={R:3}&m={R:4}&n={R:5}&top=top" />
- </rule>
- <rule name="special5">
- <match url="^(.*/)*special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt:xlwsq_zt&a={R:2}&b={R:3}&m={R:4}&n={R:5}&page={R:6}" />
- </rule>
- <rule name="special6">
- <match url="^(.*/)*special_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt&mod=view&sid={R:2}" />
- </rule>
- <rule name="special7">
- <match url="^(.*/)*special_user.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt:xlwsq_zt_user" />
- </rule>
- <rule name="special8">
- <match url="^(.*/)*special_user_add.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt:xlwsq_zt_user&p=add" />
- </rule>
- <rule name="special9">
- <match url="^(.*/)*special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_zt:xlwsq_zt&a={R:2}&b={R:3}&m={R:4}&n={R:5}&rq=rq" />
- </rule>
复制代码- rewrite ^([^\.]*)/special.html$ $1/plugin.php?id=xlwsq_zt last;
- rewrite ^([^\.]*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5 last;
- rewrite ^([^\.]*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ $1/plugin.php?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5&tj=t last;
- rewrite ^([^\.]*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_top\.html$ $1/plugin.php?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5&top=top last;
- rewrite ^([^\.]*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5&page=$6 last;
- rewrite ^([^\.]*)/special_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_zt&mod=view&sid=$2 last;
- rewrite ^([^\.]*)/special_user\.html$ $1/plugin.php?id=xlwsq_zt:xlwsq_zt_user last;
- rewrite ^([^\.]*)/special_user_add\.html$ $1/plugin.php?id=xlwsq_zt:xlwsq_zt_user&p=add last;
- rewrite ^([^\.]*)/special_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html$ $1/plugin.php?id=xlwsq_zt:xlwsq_zt&a=$2&b=$3&m=$4&n=$5&rq=rq last;
复制代码
|