[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/archiver/((fid|tid)-[/w/-]+/.html)/?*(.*)$ $1/archiver/index/.php/?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)/.html/?*(.*)$ $1/forumdisplay/.php/?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)/.html/?*(.*)$ $1/viewthread/.php/?tid=$2&extra=page/%3D$4&page=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)/.html/?*(.*)$ $1/space/.php/?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)/.html/?*(.*)$ $1/tag/.php/?name=$2&$3
# UCHome Rewrite规则
# 独立主机用户
# 修改以下语句中的 /uchome 修改为你的uchome目录地址,如果程序放在根目录中,请将 /uchome 修改为 /
RewriteRule ^(.*)/(space|network)-(.+)/.html$ $1/$2/.php/?rewrite=$3 [L]
RewriteRule ^(.*)/(space|network)/.html$ $1/$2/.php [L]
RewriteRule ^(.*)/([0-9]+)$ $1/space/.php/?uid=$2 [L]
DZ7.2的伪静态规则就是上面的,复制下来 名字改为httpd.ini放在根目录下面就可以了!
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/58117.html