• paip.输出内容替换在Apache 过滤器filter的设置


    paip.输出内容替换在Apache 过滤器filter的设置




    作者Attilax  艾龙,  EMAIL:1466519819@qq.com
    来源:attilax的专栏
    地址:http://blog.csdn.net/attilax


    LoadModule ext_filter_module modules/mod_ext_filter.so
        ## mod_ext_filter directive to define a filter which    
        ## replaces text in the response    
        ##    
     #   ExtFilterDefine fixtext1 mode=output intype=text/html cmd="d:/sed.exe 's,lonely-s,attilax,'"  
     
    ExtFilterDefine fixtext mode=output intype=text/html cmd="e:/sed.exe s/lonely/attilax/g"  
    ExtFilterDefine fixtext1 mode=output intype=text/html cmd="e:/sed.exe s/server/attilax/g"  
            
        <Location />    
        # core directive to cause the fixtext filter to    
        # be run on output    
          SetOutputFilter fixtext;fixtext1    
     ExtFilterOptions LogStderr DebugLevel=6 
        </Location>  


    参考
    在Apache和Nginx反向代理中实现输出内容替换例子_域名主机_站长资讯_最模板.htm
    mod_ext_filter - Apache 2.2 中文版参考手册.htm
  • 相关阅读:
    面向对象之property
    mysql数据库基本操作
    mysql数据库操作
    初识多线程__上
    npm 安装express npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
    markdown快捷键
    try_except__异常处理
    妹子图爬取__RE__BS4
    进程中的锁以及进程池
    pip升级到18.0版本过程中报错解决方法
  • 原文地址:https://www.cnblogs.com/attilax/p/5964105.html
Copyright © 2020-2023  润新知