Apache 2.4以上開啟偽靜態(tài)規(guī)則后如果出現(xiàn)500錯誤,可能是由于偽靜態(tài)規(guī)則不兼容造成,可以打開.htaccess規(guī)則文件,將
Order Deny,Allow Deny from all
改為
Require all denied