民审-M

柒瑞赛事竞猜 X 短域名URL静态化 URL静态化规则

作者:民审-M   发布时间:2018-06-25 17:58   回复数:2   浏览数:257
民审-M
2572民审-M金牌草根
2018-06-25 17:58:41
2572 2018-06-25 17:58:41
本帖最后由 民审-M 于 2018-6-30 10:43 编辑


伪静态访问短域名默认访问域名
竞猜大厅
http://您的域名/jingcaihttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree
往期竞猜
http://您的域名/wangqihttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&finish_7ree=1
我的竞猜
http://您的域名/wodejingcaihttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=1
我的关注
http://您的域名/wodeguanzhuhttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=7
竞猜详情
http://您的域名/saishi_XXXhttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree=XXX
竞猜记录
http://您的域名/jilu_XXXhttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree=XXX
高手竞猜
http://您的域名/gaoshou_XXXhttp://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree=XXX
总盈利排行榜单
http://您的域名/rank1http://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1
净盈利排行榜单
http://您的域名/rank2http://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2
猜赢场次排行榜单
http://您的域名/rank3http://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3
命中率排行榜单
http://您的域名/rank4http://您的域名/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4

草根吧实测演示地址:
PC端:http://demo.caogen8.co/x/jingcai
手机端:


柒瑞赛事竞猜URL静态化规则[color=rgb(51, 51, 51)][font="]温馨提示

请先安装主应用:柒瑞赛事竞猜 草根吧即将发布~
及其组件:短域名URL静态化 草根吧即将发布~
并需要在discuz后台赛事竞猜的设定中开启伪静态域名才可生效


Apache Web Server(独立主机用户)

<IfModule mod_rewrite.c>
RewriteEngine On
########## jingcai_7ree URL rewite RULE 201502 begin
RewriteRule ^(.*)/jingcai$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree%1
RewriteRule ^(.*)/wangqi$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&finish_7ree=1%1
RewriteRule ^(.*)/wodejingcai$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=1%1
RewriteRule ^(.*)/wodeguanzhu$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=7%1
RewriteRule ^(.*)/saishi_([0-9]+)$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree=$2%1
RewriteRule ^(.*)/jilu_([0-9]+)$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree=$2%1
RewriteRule ^(.*)/gaoshou_([0-9]+)$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree=$2%1
RewriteRule ^(.*)/rank1$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1%1
RewriteRule ^(.*)/rank2$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2%1
RewriteRule ^(.*)/rank3$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3%1
RewriteRule ^(.*)/rank4$ $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4%1
########## jingcai_7ree URL rewite RULE 201502 end
</IfModule>

Apache Web Server(虚拟主机用户)
本部分内容设定了隐藏,需要回复后才能看到


IIS Web Server(独立主机用户)

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP

RewriteRule ^(.*)/jingcai$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree
RewriteRule ^(.*)/wangqi$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&finish_7ree=1
RewriteRule ^(.*)/wodejingcai$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=1
RewriteRule ^(.*)/wodeguanzhu$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=7
RewriteRule ^(.*)/saishi_([0-9]+)$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree=$2
RewriteRule ^(.*)/jilu_([0-9]+)$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree=$2
RewriteRule ^(.*)/gaoshou_([0-9]+)$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree=$2
RewriteRule ^(.*)/rank1$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1
RewriteRule ^(.*)/rank2$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2
RewriteRule ^(.*)/rank3$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3
RewriteRule ^(.*)/rank4$ $1/plugin\.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4


IIS7 Web Server(独立主机用户)

<rewrite>
<rules>
<rule name="jingcai_7ree">
<match url="^(.*/)*jingcai$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree" />
</rule>
<rule name="wangqi_7ree">
<match url="^(.*/)*wangqi$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&finish_7ree=1" />
</rule>
<rule name="wodejingcai_7ree">
<match url="^(.*/)*wodejingcai$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=1" />
</rule>
<rule name="wodeguanzhu_7ree">
<match url="^(.*/)*wodeguanzhu$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=7" />
</rule>
<rule name="saishi_page_7ree">
<match url="^(.*/)*saishi_([0-9]+)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree={R:2}" />
</rule>
<rule name="jilu_7ree">
<match url="^(.*/)*jilu_(.+)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree={R:2}" />
</rule>
<rule name="gaoshou_7ree">
<match url="^(.*/)*gaoshou_(.+)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree={R:2}" />
</rule>
<rule name="rank1_7ree">
<match url="^(.*/)*rank1$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1" />
</rule>
<rule name="rank2_7ree">
<match url="^(.*/)*rank2$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2" />
</rule>
<rule name="rank3_7ree">
<match url="^(.*/)*rank3$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3" />
</rule>
<rule name="rank4_7ree">
<match url="^(.*/)*rank4$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4" />
</rule>
</rules>
</rewrite>


Zeus Web Server

match URL into $ with ^(.*/)/jingcai$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree
endif
match URL into $ with ^(.*/)/wangqi$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&finish_7ree=1
endif
match URL into $ with ^(.*/)/wodejingcai$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=1
endif
match URL into $ with ^(.*/)/wodeguanzhu$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=7
endif
match URL into $ with ^(.*)/saishi_([0-9]+)$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&sp_7ree=more&main_id_7ree=$2
endif
match URL into $ with ^(.*)/jilu_([0-9]+)$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=10&uid_7ree=$2
endif
match URL into $ with ^(.*)/gaoshou_([0-9]+)$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=14&main_id_7ree=$2
endif
match URL into $ with ^(.*/)/rank1$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=1
endif
match URL into $ with ^(.*/)/rank2$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=2
endif
match URL into $ with ^(.*/)/rank3$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=3
endif
match URL into $ with ^(.*/)/rank4$
if matched then
set URL = $1/plugin.php?id=jingcai_7ree:jingcai_7ree&ac_7ree=6&how_7ree=4
endif


Nginx Web Server
[font=&quot;]
本部分内容设定了隐藏,需要回复后才能看到

必先安装:
柒瑞赛事竞猜 X 10.2 DZ建站学习研究分享 · 插件
https://www.cgzz8.cn/t-34408-1-1.html
(出处: 草根吧)


配套下载:
柒瑞赛事自动采集器 全自动版V5.0 DZ建站学习研究分享 · 插件
https://www.cgzz8.cn/t-34361-1-1.html
(出处: 草根吧)


相关下载:
柒瑞赛事竞猜 X 短域名URL静态化 URL静态化规则
https://www.cgzz8.cn/t-34337-1-1.html
(出处: 草根吧)

柒瑞赛事竞猜 X 欧洲杯世界杯球队简介资料素材下载
https://www.cgzz8.cn/t-34351-1-1.html
(出处: 草根吧)

[font=&quot;][font=&quot;]柒瑞赛事竞猜DIY 扩展模块 Ver 3.5 DZ建站学习研究分享 · 扩展
https://www.cgzz8.cn/t-34357-1-1.html[font=&quot;]
[font=&quot;](出处: 草根吧)
[font=&quot;][font=&quot;]

[font=&quot;]相关教程
柒瑞赛事竞猜业务流程概述及常见问题解答使用手册
https://www.cgzz8.cn/t-34379-1-1.html
(出处: 草根吧)

[font=&quot;]柒瑞赛事自动采集器常见问题解答(FAQ)
https://www.cgzz8.cn/t-34342-1-1.html
[font=&quot;](出处: 草根吧)

【图文教程】柒瑞赛事竞猜的banner广告和链接地址如何设置?
https://www.cgzz8.cn/t-34343-1-1.html
(出处: 草根吧)
宅男园少
沙发宅男园少步入草根 2025-11-10 02:43
我来看看怎么个事儿
要用中文的吧
板凳要用中文的吧步入草根 2018-06-29 17:25
谢谢老大,太爱你了
游客
登录后才可以回帖,登录 或者 注册