apache
                                                                
                19-12-06 18:19
                字数 317
                阅读 2379
                                已编辑
                                            
            如何查看apache配置文件路径
httpd -V
查看加载模块
httpd -t -D DUMP_MODULES
防止header头host攻击 RewriteEngine On RewriteBase / --禁止非法域名访问.返回404错误页面. power by cefhost --判断规则,若有多个域名则写多条.(除了以下域名,其他均不允许访问) rewritecond %{http_host} !^cefhost.cn$ [nc] rewritecond %{http_host} !^www.cefhost.net$ [nc] rewritecond %{http_host} !^www.cefhost.cn$ [nc] --禁止规则 rewriterule ^.* - [F,L]
1人点赞>
                    
                0 条评论
            
            
                排序方式
                时间
                投票
            
        快来抢占一楼吧
    请登录后发表评论
        
        
    文章归档
    
最新文章
        最受欢迎
    20-01-06 10:49
                    19-12-18 13:52
                    19-12-08 13:06
                    19-12-06 18:19
                    19-11-20 19:17
                    6 评论
                    3 评论
                    2 评论
                    2 评论
                     
         
                     
    