官方论坛产品帮助刷图视频问题反馈

DedeCMS 安全设置 禁止PHP执行权限

发表于 秦海传媒

    使用.htaccess禁止php执行

    RewriteEngine on  RewriteCond % !^$  
    RewriteRule uploads/(.*).(php)$ – [F]  
    RewriteRule data/(.*).(php)$ – [F]  
    RewriteRule templets/(.*).(php)$ – [F]
    RewriteRule zkzy/(.*).(php)$ – [F]
    RewriteRule zktk/(.*).(php)$ – [F]
    RewriteRule xxff/(.*).(php)$ – [F]
    RewriteRule xlogo/(.*).(php)$ – [F]
    RewriteRule style/(.*).(php)$ – [F]
    RewriteRule news/(.*).(php)$ – [F]
    RewriteRule imgcss/(.*).(php)$ – [F]
    RewriteRule images/(.*).(php)$ – [F]
    RewriteRule dyimg/(.*).(php)$ – [F]
    RewriteRule bkbd/(.*).(php)$ – [F]
    RewriteRule a/(.*).(php)$ – [F]
    RewriteRule include/(.*).(php)$ – [F]
    RewriteRule dede/(.*).(php)$ – [F]
    
  • 此条目发表在 服务器配置, 闲言碎语 分类目录。将固定链接加入收藏夹。

Google ADs

除非另有声明,本站文章遵循知识共享署名-非商业性使用 2.5 中国大陆许可协议。 Copyright © 2008-2012 99288.NET.CN.