修改伪静态规则
Apache Web Server(独立主机用户)
- RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3&%1
复制代码
修改为
- RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3&%1&do=index
复制代码
Apache Web Server(虚拟主机用户)将
- RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
复制代码
修改为
- RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1&do=index
复制代码
IIS Web Server(独立主机用户)将
- RewriteRule ^(.*)/space-(username|uid)-(.+)\.html(\?(.*))*$ $1/home\.php\?mod=space&$2=$3&$5
复制代码
修改为
- RewriteRule ^(.*)/space-(username|uid)-(.+)\.html(\?(.*))*$ $1/home\.php\?mod=space&$2=$3&$5&do=index
复制代码
IIS7 Web Server(独立主机用户)将
- <rule name="home_space">
- <match url="^(.*/)*space-(username|uid)-(.+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/home.php\?mod=space&{R:2}={R:3}&{R:4}" />
- </rule>
复制代码
修改为
- <rule name="home_space">
- <match url="^(.*/)*space-(username|uid)-(.+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/home.php\?mod=space&{R:2}={R:3}&{R:4}" />
- </rule>
复制代码
Zeus Web Server将
- match URL into $ with ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$
- if matched then
- set URL = $1/home.php?mod=space&$2=$3&$4
- endif
复制代码
修改为
- match URL into $ with ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$
- if matched then
- set URL = $1/home.php?mod=space&$2=$3&$4&do=index
- endif
复制代码
Nginx Web Server将
- rewrite ^([^\.]*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3 last;
复制代码
修改为
- rewrite ^([^\.]*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3&do=index last;
复制代码
|
|