zoukankan      html  css  js  c++  java
  • destoon-Zeus规则

    match URL into $ with ^(.*).(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ 
    if matched then 
     set URL = /404.php
    endif
    match URL into $ with ^(.*)/(admin|cache|editor|file|include|lang|module|skin|template)/(.*).php(.*)$
    if matched then 
     set URL = /404.php
    endif
    match URL into $ with ^(.*)-htm-(.*)$ 
    if matched then 
     set URL = $1.php?$2 
    endif
    match URL into $ with ^(.*)/show-([0-9]+)([-])?([0-9]+)?.html$ 
    if matched then 
     set URL = $1/show.php?itemid=$2&page=$4 
    endif
    match URL into $ with ^(.*)/list-([0-9]+)([-])?([0-9]+)?.html$ 
    if matched then 
     set URL = $1/list.php?catid=$2&page=$4 
    endif
    match URL into $ with ^(.*)/show/([0-9]+)/([0-9]+)?([/])?$ 
    if matched then 
     set URL = $1/show.php?itemid=$2&page=$3 
    endif
    match URL into $ with ^(.*)/list/([0-9]+)/([0-9]+)?([/])?$ 
    if matched then 
     set URL = $1/list.php?catid=$2&page=$3 
    endif
    match URL into $ with ^(.*)/([A-za-z0-9_-]+)-c([0-9]+)-([0-9]+).html$
    if matched then 
     set URL = $1/list.php?catid=$3&page=$4
    endif
    match URL into $ with ^(.*)/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$
    if matched then 
     set URL = $1/index.php?moduleid=$2&catid=$3&itemid=$4&page=$5
    endif
    match URL into $ with ^(.*)/([a-z]+)/(.*).shtml$ 
    if matched then 
     set URL = $1/$2/index.php?rewrite=$3 
    endif
    match URL into $ with ^(.*)/com/([a-z0-9_-]+)/([a-z]+)/(.*).html$ 
    if matched then 
     set URL = $1/index.php?homepage=$2&file=$3&rewrite=$4 
    endif
    match URL into $ with ^(.*)/com/([a-z0-9_-]+)/([a-z]+)([/])?$ 
    if matched then 
     set URL = $1/index.php?homepage=$2&file=$3 
    endif
    match URL into $ with ^(.*)/com/([a-z0-9_-]+)([/])?$ 
    if matched then 
     set URL = $1/index.php?homepage=$2 
    endif
  • 相关阅读:
    KVM克隆CentOS6虚拟机后无法启动
    Python socket网络模块
    LNMP的安装--详细版
    CentOS7 二进制安装MySQL5.6.42
    超越线程池:Java并发并没有你想的那么糟糕
    有哪些实用的计算机相关技能,可以在一天内学会?
    如何写出让hr一看就约你面试的简历
    五个最佳编程字体
    Eclipse 的 Debug 介绍与技巧
    Redis时延问题分析及应对
  • 原文地址:https://www.cnblogs.com/lx0715/p/9984459.html
Copyright © 2011-2022 走看看