Apache環境規則內容如下:Apache限制uploads目錄執行php腳本,把規則添加到.htaccess文件中,代碼如下:
RewriteEngine on RewriteCond % !^$ RewriteRule uploads/(.*).(php)$ – [F]
Easy is power
Apache環境規則內容如下:Apache限制uploads目錄執行php腳本,把規則添加到.htaccess文件中,代碼如下:
RewriteEngine on RewriteCond % !^$ RewriteRule uploads/(.*).(php)$ – [F]