httpd.ini
- RewriteRule ^(.*)/choujiang.html(\?(.*))*$ $1/plugin.php\?id=sosv_award
复制代码 httpd.conf
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteRule ^(.*)/choujiang\.html\?*(.*)$ $1/plugin.php?id=sosv_award
复制代码 .htAccess
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^choujiang\.html$ plugin.php?id=sosv_award
复制代码 Nginx.txt
- rewrite ^([^\.]*)/choujiang\.html$ $1/plugin.php?id=<span style="line-height: 1.5;">sosv_award</span>
复制代码 web.Config
- <rule name="sosv_award_home">
- <match url="^(.*/)*choujiang.html\?*(.*)[ Discuz_CODE_3 ]quot; />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=sosv_award&{R:2}" />
- </rule>
复制代码 添加好伪静态规则后,在域名后面添加:/choujiang.html 即可访问。
|