Web.config 7.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <appSettings>
  4. <add key="blackips" value="192.168.1.200;"/>
  5. <add key="getZX" value="http://ht.55128.cn"></add>
  6. </appSettings>
  7. <system.web>
  8. <compilation debug="true"/>
  9. <globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8"/>
  10. <pages validateRequest="false" enableViewStateMac="false" enableSessionState="true"/>
  11. <httpRuntime maxRequestLength="2097151" useFullyQualifiedRedirectUrl="true" executionTimeout="3600"/>
  12. <customErrors mode="Off" defaultRedirect="http://www.55128.cn/404.aspx">
  13. <error statusCode="404" redirect="http://www.55128.cn/404.aspx"/>
  14. </customErrors>
  15. </system.web>
  16. <system.webServer>
  17. <httpErrors errorMode="Custom">
  18. <remove statusCode="404" subStatusCode="-1"/>
  19. <remove statusCode="500" subStatusCode="-1"/>
  20. <error statusCode="404" prefixLanguageFilePath="" path="http://www.55128.cn/404.aspx" responseMode="ExecuteURL"/>
  21. <error statusCode="500" prefixLanguageFilePath="" path="http://www.55128.cn/404.aspx" responseMode="ExecuteURL"/>
  22. </httpErrors>
  23. <rewrite>
  24. <rules>
  25. <!--试机号-->
  26. <rule name="旧版-试机号首页-期数" stopProcessing="true"><match url="^(p3|sd)sjh.aspx$"/><action type="Rewrite" url="/shijihao/{R:1}sjh.aspx"/></rule>
  27. <rule name="p3-试机号-期数" stopProcessing="true"><match url="^p3-shijihao-(\d{7}).htm$"/><action type="Rewrite" url="/shijihao/p3sjh.aspx?term={R:1}"/></rule>
  28. <rule name="3d-试机号-期数" stopProcessing="true"><match url="^3d-shijihao-(\d{7}).htm$"/><action type="Rewrite" url="/shijihao/sdsjh.aspx?term={R:1}"/></rule>
  29. <rule name="试机号-年份" stopProcessing="true"><match url="^(3d|p3)-shijihao-(\d{4}).htm$"/><action type="Rewrite" url="/shijihao/{R:1}list.aspx?year={R:2}"/></rule>
  30. <rule name="试机号-列表" stopProcessing="true"><match url="^(3d|p3)-shijihao-(\d+).htm$"/><action type="Rewrite" url="/shijihao/{R:1}list.aspx?topsize={R:2}"/></rule>
  31. <!--开机号-->
  32. <rule name="旧版-3d开机号-历史" stopProcessing="true"><match url="^sdkjh.aspx$"/><action type="Rewrite" url="/kaijihao/sdkjh.aspx"/></rule>
  33. <rule name="开机号-首页" stopProcessing="true"><match url="^(ssq|dlt|p3|3d)-kaijihao/$"/><action type="Rewrite" url="/kaijihao/{R:1}.aspx"/></rule>
  34. <rule name="开机号-期数" stopProcessing="true"><match url="^(ssq|dlt|p3|3d)-kaijihao-(\d{7}).htm$"/><action type="Rewrite" url="/kaijihao/{R:1}.aspx?term={R:2}"/></rule>
  35. <rule name="开机号-列表" stopProcessing="true"><match url="^(ssq|dlt|p3|3d)-kaijihao-(\d+).htm$"/><action type="Rewrite" url="/kaijihao/{R:1}list.aspx?topsize={R:2}"/></rule>
  36. <!--开奖结果-->
  37. <rule name="旧版-开奖结果" stopProcessing="true"><match url="^xq_(ssq|dlt|p3|p5|qlc|qxc|hc1|sd|fj31x7|fj36x7|js7ws|zj6j1|df6j1|hd15x5|hb30x5|hn22x5|xj35x7|ny36x7).aspx$"/><action type="Rewrite" url="/kjjg/{R:1}.aspx"/></rule>
  38. <rule name="开奖结果" stopProcessing="true"><match url="^(ssq|dlt|p3|p5|qlc|qxc|hc1|fj31x7|fj36x7|js7ws|zj6j1|df6j1|hd15x5|hb30x5|hn22x5|xj35x7|ny36x7)-kjjg-(\d{5,7}).htm$"/><action type="Rewrite" url="/kjjg/{R:1}.aspx?term={R:2}"/></rule>
  39. <rule name="3d开奖结果" stopProcessing="true"><match url="^3d-kjjg-(\d{7}).htm$"/><action type="Rewrite" url="/kjjg/sd.aspx?term={R:1}"/></rule>
  40. <rule name="高频特殊开奖结果" stopProcessing="true"><match url="^xq_(bjpk10|bjkl8).aspx$"/><action type="Rewrite" url="/kjjg/{R:1}.aspx?lotname={R:1}"/></rule>
  41. <rule name="高频特殊彩开奖结果" stopProcessing="true"><match url="^(bjpk10|bjkl8)-kjjg-((\d){4}[-](\d){1,2}[-](\d){1,2}).htm$"/><action type="Rewrite" url="/kjjg/{R:1}.aspx?lotname={R:1}&amp;time={R:2}"/></rule>
  42. <rule name="高频开奖结果" stopProcessing="true"><match url="^xq_(sckl12|ah11x5|cq11x5|gd11x5|gz11x5|hlj11x5|hb11x5|jx11x5|js11x5|jl11x5|ln11x5|sd11x5|sh11x5|sc11x5|tj11x5|yn11x5|zj11x5|ahk3|hbk3|jsk3|jlk3|lnkl12|cqklsf|gxklsf|gdklsf|hnklsf|hubk3|tjklsf|sdqyh|hebk3|nmgk3|zjklc|sxklsf|hebk3|nmgk3|zjklc|sxklsf|heb11x5|shssl|nmg11x5|gs11x5|fj11x5|xj11x5|sxxa11x5|sxty11x5|klpk3|xysc|ytdj).aspx$"/><action type="Rewrite" url="/kjjg/list.aspx?lotname={R:1}"/></rule>
  43. <rule name="高频彩开奖结果" stopProcessing="true"><match url="^(sckl12|ah11x5|cq11x5|gd11x5|gz11x5|hlj11x5|hb11x5|jx11x5|js11x5|jl11x5|ln11x5|sd11x5|sh11x5|sc11x5|tj11x5|yn11x5|zj11x5|ahk3|hbk3|jsk3|jlk3|lnkl12|cqklsf|gxklsf|gdklsf|hnklsf|hubk3|tjklsf|sdqyh|hebk3|nmgk3|zjklc|sxklsf|heb11x5|shssl|nmg11x5|gs11x5|fj11x5|xj11x5|sxxa11x5|sxty11x5|klpk3|xysc|ytdj)-kjjg-((\d){4}[-](\d){1,2}[-](\d){1,2}).htm$"/><action type="Rewrite" url="/kjjg/list.aspx?lotname={R:1}&amp;time={R:2}"/></rule>
  44. <!--历史开奖 列表-->
  45. <rule name="旧版-历史开奖-年份" stopProcessing="true"><match url="^history_(ssq|dlt|sd|p3|p5|qlc|qxc|hc1).aspx$"/><action type="Rewrite" url="/history/{R:1}.aspx"/></rule>
  46. <rule name="历史开奖-年份" stopProcessing="true">
  47. <match url="^(ssq|dlt|sd|p3|p5|qlc|qxc|hc1)-history-(\d{4}).htm$"/><action type="Rewrite" url="/history/{R:1}.aspx?year={R:2}"/></rule>
  48. <rule name="历史开奖-topsize" stopProcessing="true"><match url="^(ssq|dlt|sd|p3|p5|qlc|qxc|hc1)-history-(\d+).htm$"/><action type="Rewrite" url="/history/{R:1}.aspx?topsize={R:2}"/></rule>
  49. <rule name="新彩种-历史开奖" stopProcessing="true"><match url="^history_(sckl12|fj31x7|fj36x7|js7ws|zj6j1|df6j1|hd15x5|hb30x5|hn22x5|xj35x7|ny36x7|ah11x5|cq11x5|gd11x5|gz11x5|hlj11x5|hb11x5|jx11x5|js11x5|jl11x5|ln11x5|sd11x5|sh11x5|sc11x5|tj11x5|yn11x5|zj11x5|ahk3|hbk3|jsk3|jlk3|lnkl12|cqklsf|gxklsf|gdklsf|hnklsf|tjklsf|sdqyh|hebk3|nmgk3|zjklc|sxklsf|hebk3|nmgk3|zjklc|sxklsf|heb11x5|shssl|nmg11x5|gs11x5|fj11x5|xj11x5|sxxa11x5|sxty11x5|klpk3|xysc|ytdj).aspx$"/><action type="Rewrite" url="/history/list.aspx?lotname={R:1}"/></rule>
  50. <rule name="新彩种-历史开奖-年份" stopProcessing="true"><match url="^(fj31x7|fj36x7|js7ws|zj6j1|df6j1|hd15x5|hb30x5|hn22x5|xj35x7|ny36x7)-history-(\d{4}).htm$"/><action type="Rewrite" url="/history/list.aspx?lotname={R:1}&amp;year={R:2}"/></rule>
  51. <rule name="新彩种-历史开奖-topsize" stopProcessing="true"><match url="^(fj31x7|fj36x7|js7ws|zj6j1|df6j1|hd15x5|hb30x5|hn22x5|xj35x7|ny36x7)-history-(\d+).htm$"/><action type="Rewrite" url="/history/list.aspx?lotname={R:1}&amp;topsize={R:2}"/></rule>
  52. <!--开奖直播-->
  53. <rule name="开奖直播-首页" stopProcessing="true"><match url="^(ssq|dlt|p3|p5|qlc|qxc|hc1)-kjzb/$"/><action type="Rewrite" url="/kjzb/{R:1}.aspx"/></rule>
  54. <rule name="3D开奖直播-首页" stopProcessing="true"><match url="^3d-kjzb/$"/><action type="Rewrite" url="/kjzb/sd.aspx"/></rule>
  55. <rule name="开奖直播-期数" stopProcessing="true"><match url="^(ssq|dlt|p3|p5|qlc|qxc|hc1)-kjzb-(\d{7}).htm$"/><action type="Rewrite" url="/kjzb/{R:1}.aspx?qi={R:2}"/></rule>
  56. <rule name="3D开奖直播-期数" stopProcessing="true"><match url="^3d-kjzb-(\d{7}).htm$"/><action type="Rewrite" url="/kjzb/sd.aspx?qi={R:1}"/></rule>
  57. <!--玩法规则 中奖规则-->
  58. <rule name="玩法规则-中奖规则" stopProcessing="true"><match url="^(ssq|p5|p3|qxc|ssc|qlc|qyh|ssl|hc1|dlt|3d|fj31x7|fj36x7|js7ws|zj6j1|df6j1|hd15x5|hb30x5|hn22x5|xj35x7|ny36x7|sckl12|fj31x7|fj36x7|js7ws|zj6j1|df6j1|hd15x5|hb30x5|hn22x5|xj35x7|ny36x7|ah11x5|cq11x5|gd11x5|gz11x5|hlj11x5|hb11x5|jx11x5|js11x5|jl11x5|ln11x5|sd11x5|sh11x5|sc11x5|tj11x5|yn11x5|zj11x5|ahk3|hbk3|jsk3|jlk3|lnkl12|cqklsf|gxklsf|gdklsf|hnklsf|tjklsf|sdqyh|hebk3|nmgk3|zjklc|sxklsf|heb11x5|shssl|nmg11x5|gs11x5|fj11x5|xj11x5|sxxa11x5|sxty11x5|klpk3|xysc|ytdj)-zjgz/$"/><action type="Rewrite" url="/rules/article.aspx?lottery={R:1}"/></rule>
  59. </rules>
  60. </rewrite>
  61. <defaultDocument>
  62. <files>
  63. <remove value="index.aspx"/>
  64. <add value="index.aspx"/>
  65. </files>
  66. </defaultDocument>
  67. <modules>
  68. <add name="blackips" type="CB.Common.BlackIpHttpModule"/>
  69. </modules>
  70. </system.webServer>
  71. </configuration>