httpd.ini- #guestbook
- RewriteRule ^(.*)/guestbook-([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=sanree_brand_guestbook&mod=userguestbook&tid=$2&$4
复制代码 httpd.conf- #guestbook
- RewriteRule ^(.*)/guestbook-([0-9].+)\.html\?*(.*)$ $1/plugin.php?id=sanree_brand_guestbook&mod=userguestbook&tid=$2&$4
复制代码 .htAccess- #guestbook
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^guestbook-([0-9]+)\.html$ plugin.php?id=sanree_brand_guestbook&mod=userguestbook&tid=$1&%1
复制代码 Nginx.txt- rewrite ^([^\.]*)/guestbook-(.+)\.html$ $1/plugin.php?id=sanree_brand_guestbook&mod=userguestbook&tid=$2 last;
复制代码 Web.Config- <rule name="guestbook_item">
- <match url="^(.*/)*guestbook-([0-9]+).html\?*(.*)[ Discuz_CODE_4 ]quot; />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=sanree_brand_guestbook&mod=userguestbook&tid={R:2}&{R:3}" />
- </rule>
复制代码 |