星期四, 12月 08, 2011

限制某目錄不能執行 php

限制某目錄不能執行 php,可以在該目錄的 .htaccess 裡設定:

RemoveHandler .php .phtml .php3
RemoveType .php .phtml .php3
php_flag engine off