2.Apache实现方法
Method 1 directory'/var/www/html/attachments' files ~' The order of php allows, and all/files/directories are rejected.
方法二目录/var/www/html/附件' PHP _ admin _ flag引擎关闭/目录
The third method is. Write rewrite engine on RewriteCond% in htaccess! $ Rewriter attachment. *).(php)$ - [F]
3. location of 3.Nginx implementation method ~/attachment/. *\.php $ { deny all}