.htAccess- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^show\.html$ plugin.php?id=mini_show:index
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^show_([0-9]+)\.html$ plugin.php?id=mini_show:index&mod=view&sid=$1
复制代码 nginx- rewrite ^([^\.]*)/show.html$ $1/plugin.php?id=mini_show:index last;
- rewrite ^([^\.]*)/show_([0-9]+).html$ $1/plugin.php?id=mini_show:index&mod=view&sid=$2 last;
复制代码 iis- RewriteRule ^(.*)/show\.html\?*(.*)$ $1/plugin\.php\?id=mini_show:index
- RewriteRule ^(.*)/show_([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=mini_show:index&mod=view&sid=$2
复制代码 |