前段时间有人发过的那个APACH伪静态转NGINX的工具
谁能再发个,找不到了。或者大神们帮小弟转一下。
RewriteRule index.html index.php
RewriteRule list.html list.php
RewriteRule postList.html postList.php
RewriteRule location-(\d+)\.html$location.php?id=$1
RewriteRule industry-(\d+)\.html$industry.php?id=$1
RewriteRule stock-(\d+)\.html$stock.php?num=$1
RewriteRule list-(\d+)\.html$list.php?pageNow=$1
RewriteRule postList-(\d+)\.html$postList.php?pageNow=$1 rewrite /index.html /index.php;
rewrite /list.html /list.php;
rewrite /postList.html /postList.php;
set $rule_3 1;
rewrite /location-(d+).html$ /;
rewrite /industry-(d+).html$ /;
rewrite /stock-(d+).html$ /;
rewrite /list-(d+).html$ /;
set $rule_7 1;
rewrite /postList-(d+).html$ /; 2楼霸气
qqcm 发表于 2013-4-29 20:45
back.gif
rewrite /index.html /index.php;
rewrite /list.html /list.php;
rewrite /postList.html /postList.php ...
万分感激!好人一生平安
ybs885 发表于 2013-4-29 20:45
back.gif
2楼霸气
但一看就知道工具转换的就不能用!
qqcm 发表于 2013-4-29 21:19
back.gif
但一看就知道工具转换的就不能用!
发现了还是得自己重写
页:
[1]