创意电子 发表于 2022-7-19 09:16:05

墙头小广告 付费版 2.61




不知道服务器怎么配置开启静态,请自行百度或咨询空间商客服。
添加规则后没生效,请尝试重启服务器,重启服务器,重启服务器。

=====================Apache Web Server规则=====================(分割线不需要复制)

RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad\.html$ plugin.php?id=xlwsq_wallad
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_list_(+)_(+)\.html$ plugin.php?id=xlwsq_wallad&a=$1&b=$2
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_list_(+)_(+)_(+)_(+)\.html$ plugin.php?id=xlwsq_wallad&a=$1&b=$2&bc=$3&sc=$4
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_list_(+)_(+)_(+)_(+)_(+)\.html$ plugin.php?id=xlwsq_wallad&a=$1&b=$2&bc=$3&sc=$4&page=$5
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_list_(+)_(+)_(+)_(+)_tj\.html$ plugin.php?id=xlwsq_wallad&a=$1&b=$2&bc=$3&sc=$4&tj=t
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_list_(+)_(+)_(+)_(+)_rq\.html$ plugin.php?id=xlwsq_wallad&a=$1&b=$2&bc=$3&sc=$4&rq=rq
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_list_(+)_(+)_(+)_(+)_jdq\.html$ plugin.php?id=xlwsq_wallad&a=$1&b=$2&bc=$3&sc=$4&jdq=jdq
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_list_(+)_(+)_(+)_(+)_jg\.html$ plugin.php?id=xlwsq_wallad&a=$1&b=$2&bc=$3&sc=$4&jg=jg
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_(+)\.html$ plugin.php?id=xlwsq_wallad&mod=view&sid=$1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_user\.html$ plugin.php?id=xlwsq_wallad:xlwsq_wallad_user
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_user_mylist\.html$ plugin.php?id=xlwsq_wallad:xlwsq_wallad_user&p=mylist
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_user_add\.html$ plugin.php?id=xlwsq_wallad:xlwsq_wallad_user&p=add
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_user_favorites\.html$ plugin.php?id=xlwsq_wallad:xlwsq_wallad_user&p=favorites
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^ad_user_xfjl\.html$ plugin.php?id=xlwsq_wallad:xlwsq_wallad_user&p=xfjl=====================IIS6规则=====================
RewriteRule ^(.*)/ad\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad
RewriteRule ^(.*)/ad_list_(+)_(+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad&a=$2&b=$3
RewriteRule ^(.*)/ad_list_(+)_(+)_(+)_(+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5
RewriteRule ^(.*)/ad_list_(+)_(+)_(+)_(+)_tj\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&tj=t
RewriteRule ^(.*)/ad_list_(+)_(+)_(+)_(+)_rq\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&rq=rq
RewriteRule ^(.*)/ad_list_(+)_(+)_(+)_(+)_jdq\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&jdq=jdq
RewriteRule ^(.*)/ad_list_(+)_(+)_(+)_(+)_jg\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&jg=jg
RewriteRule ^(.*)/ad_list_(+)_(+)_(+)_(+)_(+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&page=$6
RewriteRule ^(.*)/ad_(+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad&mod=view&sid=$2
RewriteRule ^(.*)/ad_user\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad:xlwsq_wallad_user
RewriteRule ^(.*)/ad_user_add\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad:xlwsq_wallad_user&p=add
RewriteRule ^(.*)/ad_user_mylist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad:xlwsq_wallad_user&p=mylist
RewriteRule ^(.*)/ad_user_favorites\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad:xlwsq_wallad_user&p=favorites
RewriteRule ^(.*)/ad_user_xfjl\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_wallad:xlwsq_wallad_user&p=xfjl
=====================Nginx Web Server规则=====================
rewrite ^([^\.]*)/ad.html$ $1/plugin.php?id=xlwsq_wallad last;
rewrite ^([^\.]*)/ad_list_(+)_(+)\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad&a=$2&b=$3 last;
rewrite ^([^\.]*)/ad_list_(+)_(+)_(+)_(+)\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5 last;
rewrite ^([^\.]*)/ad_list_(+)_(+)_(+)_(+)_tj\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&tj=t last;
rewrite ^([^\.]*)/ad_list_(+)_(+)_(+)_(+)_rq\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&rq=rq last;
rewrite ^([^\.]*)/ad_list_(+)_(+)_(+)_(+)_jdq\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&jdq=jdq last;
rewrite ^([^\.]*)/ad_list_(+)_(+)_(+)_(+)_jg\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&jg=jg last;
rewrite ^([^\.]*)/ad_list_(+)_(+)_(+)_(+)_(+)\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad&a=$2&b=$3&bc=$4&sc=$5&page=$6 last;
rewrite ^([^\.]*)/ad_(+)\.html$ $1/plugin.php?id=xlwsq_wallad&mod=view&sid=$2 last;
rewrite ^([^\.]*)/ad_user\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad_user last;
rewrite ^([^\.]*)/ad_user_add\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad_user&p=add last;
rewrite ^([^\.]*)/ad_user_favorites\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad_user&p=favorites last;
rewrite ^([^\.]*)/ad_user_xfjl\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad_user&p=xfjl last;
rewrite ^([^\.]*)/ad_user_mylist\.html$ $1/plugin.php?id=xlwsq_wallad:xlwsq_wallad_user&p=mylist last;=====================IIS7(或7以上)规则=====================
<rule name="wallad1">
<match url="^(.*/)*ad.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad" />
</rule>
<rule name="wallad2">
<match url="^(.*/)*ad_list_(+)_(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad&a={R:2}&b={R:3}" />
</rule>
<rule name="wallad3">
<match url="^(.*/)*ad_list_(+)_(+)_(+)_(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}" />
</rule>
<rule name="wallad4">
<match url="^(.*/)*ad_list_(+)_(+)_(+)_(+)_(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&page={R:6}" />
</rule>
<rule name="wallad5">
<match url="^(.*/)*ad_list_(+)_(+)_(+)_(+)_tj.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&tj=t" />
</rule>
<rule name="wallad6">
<match url="^(.*/)*ad_list_(+)_(+)_(+)_(+)_rq.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&rq=rq" />
</rule>
<rule name="wallad7">
<match url="^(.*/)*ad_list_(+)_(+)_(+)_(+)_jdq.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&jdq=jdq" />
</rule>
<rule name="wallad8">
<match url="^(.*/)*ad_list_(+)_(+)_(+)_(+)_jg.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&jg=jg" />
</rule>
<rule name="wallad9">
<match url="^(.*/)*ad_(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad&mod=view&sid={R:2}" />
</rule>
<rule name="wallad10">
<match url="^(.*/)*ad_user.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad_user" />
</rule>
<rule name="wallad11">
<match url="^(.*/)*ad_user_add.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad_user&p=add" />
</rule>
<rule name="wallad12">
<match url="^(.*/)*ad_user_favorites.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad_user&p=favorites" />
</rule>
<rule name="wallad13">
<match url="^(.*/)*ad_user_xfjl.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad_user&p=xfjl" />
</rule>
<rule name="wallad14">
<match url="^(.*/)*ad_user_mylist.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_wallad:xlwsq_wallad_user&p=mylist" />
</rule>



页: [1]
查看完整版本: 墙头小广告 付费版 2.61