禁止解析 php

来源:互联网 发布:vb.net crc16校验 编辑:程序博客网 时间:2024/06/06 02:46
防止用户上传木马文件  info.php
<Directory /var/www/data>
        php_admin_flag engine off   #关闭 php 引擎
        <filesmatch "(.*)php">
                Order deny,allow
                Deny from all
                Allow from 127.0.0.1
        </filesmatch>
  </Directory>
0 0
原创粉丝点击