V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
YvetteM
V2EX  ›  分享创造

Ban IP Address from Specific Referer

  •  
  •   YvetteM ·
    ym · 2012-02-12 19:40:05 +08:00 · 3291 次点击
    这是一个创建于 4463 天前的主题,其中的信息可能已经有所发展或是发生改变。
    /etc/php.ini 中修改
    auto_prepend_file "/opt/php/block.php"

    或者在.htaccess里添加
    php_value auto_prepend_file prepend.php

    block.php 内容

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2178 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 04:22 · PVG 12:22 · LAX 21:22 · JFK 00:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.