【LAMP环境搭建】限定某个目录禁止解析php、限制user_agent和php相关配置

一、限定某个目录禁止解析php 核心配置文件内容: vim /usr/local/apache2.4/conf/extra/httpd-vhosts.conf  <Directory /data/wwwroot/111.com/upload>       php_admin_flag engine off      <FilesMatch (.*)\.php(.*)>      Order all
相关文章
相关标签/搜索