crx349 发表于 2017-11-17 17:30:41

帝国CMS伪静态收集

92gmae部分:
小皮游戏中心:
NGINX
rewrite ^([^\.]*)/app/(.*)/xinwen\.html$$1/e/zxfcode/92game_xinwen.php?classid=8&n=$2 last;
rewrite ^([^\.]*)/app/(.*)/xinwen_(+)\.html$$1/e/zxfcode/92game_xinwen.php?classid=8&n=$2&page=$3 last;
rewrite ^([^\.]*)/app/(.*)/(+)\.html$$1/e/zxfcode/92game_news.php?id=$2 last;
rewrite ^([^\.]*)/app/(.*)/(+)_(+)\.html$$1/e/zxfcode/92game_news.php?id=$2&page=$3 last;
rewrite ^([^\.]*)/app/(.*)/huodong\.html$$1/e/zxfcode/92game_xinwen.php?classid=9&n=$2 last;
rewrite ^([^\.]*)/app/(.*)/huodong_(+)\.html$$1/e/zxfcode/92game_xinwen.php?classid=9&n=$2&page=$3 last;
rewrite ^([^\.]*)/app/(.*)/gonglue\.html$$1/e/zxfcode/92game_xinwen.php?classid=10&n=$2 last;
rewrite ^([^\.]*)/app/(.*)/pingce\.html$$1/e/zxfcode/92game_xinwen.php?classid=11&n=$2 last;
rewrite ^([^\.]*)/app/(.*)/wenda\.html$$1/e/zxfcode/92game_xinwen.php?classid=12&n=$2 last;
rewrite ^([^\.]*)/app/(.*)/gonglue_(+)\.html$$1/e/zxfcode/92game_xinwen.php?classid=10&n=$2&page=$3 last;
rewrite ^([^\.]*)/app/(.*)/pingce_(+)\.html$$1/e/zxfcode/92game_xinwen.php?classid=11&n=$2&page=$3 last;
rewrite ^([^\.]*)/app/(.*)/wenda_(+)\.html$$1/e/zxfcode/92game_xinwen.php?classid=12&n=$2&page=$3 last;
rewrite ^([^\.]*)/xinwen\.html$$1/e/zxfcode/zxf_newslist.php?classid=8 last;
rewrite ^([^\.]*)/huodong\.html$$1/e/zxfcode/zxf_newslist.php?classid=9 last;
rewrite ^([^\.]*)/gonglue\.html$$1/e/zxfcode/zxf_newslist.php?classid=10 last;
rewrite ^([^\.]*)/pingce\.html$$1/e/zxfcode/zxf_newslist.php?classid=11 last;
rewrite ^([^\.]*)/biz\.html$$1/e/zxfcode/zxf_newslist.php?classid=59 last;
rewrite ^([^\.]*)/xinwen_(+)\.html$$1/e/zxfcode/zxf_newslist.php?classid=8&page=$2 last;
rewrite ^([^\.]*)/huodong_(+)\.html$$1/e/zxfcode/zxf_newslist.php?classid=9&page=$2 last;
rewrite ^([^\.]*)/gonglue_(+)\.html$$1/e/zxfcode/zxf_newslist.php?classid=10&page=$2 last;
rewrite ^([^\.]*)/pingce_(+)\.html$$1/e/zxfcode/zxf_newslist.php?classid=11&page=$2 last;
rewrite ^([^\.]*)/biz_(+)\.html$$1/e/zxfcode/zxf_newslist.php?classid=59&page=$2 last;      
rewrite ^([^\.]*)/tu/(+)_(+)\.html$$1/e/zxfcode/92game_pics.php?id=$2&i=$3 last;
rewrite ^([^\.]*)/tu/tag_(.*)\.html$$1/e/zxfcode/92game_tutag.php?n=$2 last;
rewrite ^([^\.]*)/zt/(.*)/zixun\.html$$1/e/zxfcode/92game_djzt.php?c=zixun&n=$2 last;
rewrite ^([^\.]*)/zt/(.*)/zixun_(+)\.html$$1/e/zxfcode/92game_djzt.php?c=zixun&n=$2&page=$3 last;
rewrite ^([^\.]*)/zt/(.*)/xiazai\.html$$1/e/zxfcode/92game_djzt.php?c=xiazai&n=$2 last;
rewrite ^([^\.]*)/zt/(.*)/xiazai_(+)\.html$$1/e/zxfcode/92game_djzt.php?c=xiazai&n=$2&page=$3 last;
rewrite ^([^\.]*)/zt/(.*)/buding\.html$$1/e/zxfcode/92game_djzt.php?c=buding&n=$2 last;
rewrite ^([^\.]*)/zt/(.*)/buding_(+)\.html$$1/e/zxfcode/92game_djzt.php?c=buding&n=$2&page=$3 last;
rewrite ^([^\.]*)/zt/(.*)/gonglue\.html$$1/e/zxfcode/92game_djzt.php?c=gonglue&n=$2 last;
rewrite ^([^\.]*)/zt/(.*)/gonglue_(+)\.html$$1/e/zxfcode/92game_djzt.php?c=gonglue&n=$2&page=$3 last;
rewrite ^([^\.]*)/zt/(.*)/video\.html$$1/e/zxfcode/92game_djzt.php?c=video&n=$2 last;
rewrite ^([^\.]*)/zt/(.*)/video_(+)\.html$$1/e/zxfcode/92game_djzt.php?c=video&n=$2&page=$3 last;
rewrite ^([^\.]*)/app/(.*)/down\.html$$1/e/zxfcode/92game_down.php?n=$2 last;
rewrite ^([^\.]*)/app/(.*)/$1/e/zxfcode/app.php?n=$2 last;
rewrite ^([^\.]*)/app/(.*)/index\.html$$1/e/zxfcode/app.php?n=$2 last;
rewrite ^([^\.]*)/app/(.*)$1/e/zxfcode/app.php?n=$2 last;
rewrite ^([^\.]*)/ka/(+)\.html$$1/e/zxfcode/ka.php?id=$2 last;
rewrite ^([^\.]*)/kaifu\.html$$1/e/zxfcode/kaifuce.php?classid=23 last;
rewrite ^([^\.]*)/kaice\.html$$1/e/zxfcode/kaifuce.php?classid=24 last;
rewrite ^([^\.]*)/kaifu_(+)\.html$$1/e/zxfcode/kaifuce.php?classid=23&page=$2 last;
rewrite ^([^\.]*)/kaice_(+)\.html$$1/e/zxfcode/kaifuce.php?classid=24&page=$2 last;
rewrite ^([^\.]*)/fahao\.html$$1/e/zxfcode/fahao.php last;
rewrite ^([^\.]*)/libaonew_(+)\.html$$1/e/zxfcode/libao.php?classid=22&page=$2 last;
rewrite ^([^\.]*)/libaonew_(+)_(+)_(+)\.html$$1/e/zxfcode/libao.php?classid=22&page=$2&tz=$3&os=$4 last;
rewrite ^([^\.]*)/libaonew_(+)_(.*)\.html$$1/e/zxfcode/libao.php?classid=22&page=$2&key=$3 last;
rewrite ^([^\.]*)/libao_(+)\.html$$1/e/zxfcode/libao.php?classid=22&haotype=1&page=$2 last;
rewrite ^([^\.]*)/libao_(+)_(+)_(+)\.html$$1/e/zxfcode/libao.php?classid=22&haotype=1&page=$2&tz=$3&os=$4 last;
rewrite ^([^\.]*)/jihuoma_(+)\.html$$1/e/zxfcode/libao.php?classid=22&haotype=2&page=$2 last;
rewrite ^([^\.]*)/jihuoma_(+)_(+)_(+)\.html$$1/e/zxfcode/libao.php?classid=22&haotype=2&page=$2&tz=$3&os=$4 last;
rewrite ^([^\.]*)/xinshouka_(+)\.html$$1/e/zxfcode/libao.php?classid=22&haotype=3&page=$2 last;
rewrite ^([^\.]*)/xinshouka_(+)_(+)_(+)\.html$$1/e/zxfcode/libao.php?classid=22&haotype=3&page=$2&tz=$4&os=$5 last;
rewrite ^([^\.]*)/yxk\.html$$1/e/zxfcode/gamelist.php last;
rewrite ^([^\.]*)/yxk-(+)-(+)-(+)-(+)-(+)\.html$$1/e/zxfcode/gamelist.php?lx=$2&tc=$3&zt=$4&sf=$5&p=$6 last;

手机版部分
rewrite ^([^\.]*)/biz/(+)\.html$$1/n.php?id=$2 last;
rewrite ^([^\.]*)/app/(.*)/(+)\.html$$1/n.php?id=$3 last;
rewrite ^([^\.]*)/app/(.*)$$1/app.php?n=$2 last;
rewrite ^([^\.]*)/app/(.*)/(.*)$$1/app.php?n=$2 last;
rewrite ^([^\.]*)/app/(.*)/index\.html$$1/app.php?n=$2 last;
rewrite ^([^\.]*)/libao-(+)\.html$$1/libao.php?id=$2 last;
rewrite ^([^\.]*)/list-(+)\.html$$1/gamelist.php?lx=$2 last;
rewrite ^([^\.]*)/top\.html$$1/azphb.php last;

crx349 发表于 2017-11-22 11:28:28

小皮游戏
Web.config 手机版部分<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
       <rewrite>
        <rules>
                <rule name="biz">
                        <match url="^(.*/)*biz/(+).html\?*(.*)$" />
                        <action type="Rewrite" url="{R:1}/n.php\?id={R:2}&amp;{R:3}" />
                </rule>
                <rule name="app1">
                        <match url="^(.*/)*app/(.*)/(+).html" />
                        <action type="Rewrite" url="{R:1}/n.php\?id={R:3}" />
                </rule>
                <rule name="app4">
                        <match url="^(.*/)*app/(.*)" />
                        <action type="Rewrite" url="{R:1}/app.php\?n={R:2}" />
                </rule>
                <rule name="app2">
                        <match url="^(.*/)*app/(.*)/*(.*)$" />
                        <action type="Rewrite" url="{R:1}/app.php\?n={R:2}&amp;{R:3}" />
                </rule>
                <rule name="app3">
                        <match url="^(.*/)*app/(.*)/index.html" />
                        <action type="Rewrite" url="{R:1}/app.php\?n={R:2}" />
                </rule>
                <rule name="libao">
                        <match url="^(.*/)*libao-(+).html" />
                        <action type="Rewrite" url="{R:1}/libao.php\?id={R:2}" />
                </rule>
                <rule name="list">
                        <match url="^(.*/)*list-(+).html" />
                        <action type="Rewrite" url="{R:1}/gamelist.php\?lx={R:2}" />
                </rule>
                <rule name="azphb">
                        <match url="^(.*/)*top.html" />
                        <action type="Rewrite" url="{R:1}/azphb.php" />
                </rule>
        </rules>
</rewrite>
    </system.webServer>
</configuration>


pc版部分 httpd.ini


# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
#RewriteRule ^(.*)/ka/(+)\.html(\?(.*))*$$1/e/zxfcode/ka\.php\?id=$2


RewriteRule ^(.*)/app/(.*)/(+)\.html(\?(.*))*$$1/e/zxfcode/news\.php\?id=$3
RewriteRule ^(.*)/app/(.*)/(+)_(+)\.html(\?(.*))*$$1/e/zxfcode/news\.php\?id=$2&page=$3
RewriteRule ^(.*)/app/(.*)/xinwen\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=8&n=$2
RewriteRule ^(.*)/app/(.*)/xinwen_(+)\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=8&n=$2&page=$3
RewriteRule ^(.*)/app/(.*)/huodong\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=9&n=$2
RewriteRule ^(.*)/app/(.*)/huodong_(+)\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=9&n=$2&page=$3
RewriteRule ^(.*)/app/(.*)/gonglue\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=10&n=$2
RewriteRule ^(.*)/app/(.*)/pingce\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=11&n=$2
RewriteRule ^(.*)/app/(.*)/wenda\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=12&n=$2
RewriteRule ^(.*)/app/(.*)/gonglue_(+)\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=10&n=$2&page=$3
RewriteRule ^(.*)/app/(.*)/pingce_(+)\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=11&n=$2&page=$3
RewriteRule ^(.*)/app/(.*)/wenda_(+)\.html(\?(.*))*$$1/e/zxfcode/xinwen\.php\?classid=12&n=$2&page=$3
RewriteRule ^(.*)/xinwen\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=8
RewriteRule ^(.*)/huodong\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=9
RewriteRule ^(.*)/gonglue\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=10
RewriteRule ^(.*)/pingce\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=11
RewriteRule ^(.*)/biz\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=59
RewriteRule ^(.*)/xinwen_(+)\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=8&page=$2
RewriteRule ^(.*)/huodong_(+)\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=9&page=$2
RewriteRule ^(.*)/gonglue_(+)\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=10&page=$2
RewriteRule ^(.*)/pingce_(+)\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=11&page=$2
RewriteRule ^(.*)/biz_(+)\.html(\?(.*))*$$1/e/zxfcode/zxf_newslist\.php\?classid=59&page=$2
RewriteRule ^(.*)/tu/(+)_(+)\.html(\?(.*))*$$1/e/zxfcode/pics\.php\?id=$2&i=$3
RewriteRule ^(.*)/tu/tag_(.*)\.html(\?(.*))*$$1/e/zxfcode/tutag\.php\?n=$2
RewriteRule ^(.*)/zt/(.*)/zixun\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=zixun&n=$2
RewriteRule ^(.*)/zt/(.*)/zixun_(+)\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=zixun&n=$2&page=$3
RewriteRule ^(.*)/zt/(.*)/xiazai\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=xiazai&n=$2
RewriteRule ^(.*)/zt/(.*)/xiazai_(+)\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=xiazai&n=$2&page=$3
RewriteRule ^(.*)/zt/(.*)/buding\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=buding&n=$2
RewriteRule ^(.*)/zt/(.*)/buding_(+)\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=buding&n=$2&page=$3
RewriteRule ^(.*)/zt/(.*)/gonglue\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=gonglue&n=$2
RewriteRule ^(.*)/zt/(.*)/gonglue_(+)\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=gonglue&n=$2&page=$3
RewriteRule ^(.*)/zt/(.*)/video\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=video&n=$2
RewriteRule ^(.*)/zt/(.*)/video_(+)\.html(\?(.*))*$$1/e/zxfcode/djzt\.php\?c=video&n=$2&page=$3
RewriteRule ^(.*)/app/(.*)/down\.html(\?(.*))*$$1/e/zxfcode/down\.php\?n=$2
RewriteRule ^(.*)/app/(.*)/$1/e/zxfcode/app\.php\?n=$2
RewriteRule ^(.*)/app/(.*)/index\.html(\?(.*))*$$1/e/zxfcode/app\.php\?n=$2
RewriteRule ^(.*)/app/(.*)$1/e/zxfcode/app\.php\?n=$2
RewriteRule ^(.*)/ka/(+)\.html(\?(.*))*$$1/e/zxfcode/ka\.php\?id=$2
RewriteRule ^(.*)/kaifu\.html(\?(.*))*$$1/e/zxfcode/kaifuce\.php\?classid=23
RewriteRule ^(.*)/kaice\.html(\?(.*))*$$1/e/zxfcode/kaifuce\.php\?classid=24
RewriteRule ^(.*)/kaifu_(+)\.html(\?(.*))*$$1/e/zxfcode/kaifuce\.php\?classid=23&page=$2
RewriteRule ^(.*)/kaice_(+)\.html(\?(.*))*$$1/e/zxfcode/kaifuce\.php\?classid=24&page=$2
RewriteRule ^(.*)/fahao\.html(\?(.*))*$$1/e/zxfcode/fahao.php
RewriteRule ^(.*)/libaonew_(+)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&page=$2
RewriteRule ^(.*)/libaonew_(+)_(+)_(+)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&page=$2&tz=$3&os=$4
RewriteRule ^(.*)/libaonew_(+)_(.*)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&page=$2&key=$3
RewriteRule ^(.*)/libao_(+)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&haotype=1&page=$2
RewriteRule ^(.*)/libao_(+)_(+)_(+)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&haotype=1&page=$2&tz=$3&os=$4
RewriteRule ^(.*)/jihuoma_(+)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&haotype=2&page=$2
RewriteRule ^(.*)/jihuoma_(+)_(+)_(+)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&haotype=2&page=$2&tz=$3&os=$4
RewriteRule ^(.*)/xinshouka_(+)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&haotype=3&page=$2
RewriteRule ^(.*)/xinshouka_(+)_(+)_(+)\.html(\?(.*))*$$1/e/zxfcode/libao\.php\?classid=22&haotype=3&page=$2&tz=$4&os=$5
RewriteRule ^(.*)/yxk\.html(\?(.*))*$$1/e/zxfcode/gamelist.php
RewriteRule ^(.*)/yxk-(+)-(+)-(+)-(+)-(+)\.html(\?(.*))*$$1/e/zxfcode/gamelist\.php\?lx=$2&tc=$3&zt=$4&sf=$5&p=$6
页: [1]
查看完整版本: 帝国CMS伪静态收集