使用.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]
最新评论