0
我有以下Apache指令來處理Web服務器上的每個* .xml文件:Apache指令:行動打破
AddHandler ae_xslt .xml
Action ae_xslt test.php
DirectoryIndex index.xml index.php index.html
的問題是,我得到一個內部服務器錯誤(500)。 當我看到在Apache的錯誤日誌我得到以下錯誤:
Htaccess: Action takes two arguments, a media type followed by a script name
我加上「ae_xslt」與XML文件相關聯,然後我設置腳本「test.php的」與處理「ae_xslt」的處理程序。因此,每一個* .xml文件應通過腳本「test.php的」
我看不出有什麼不對的動作!我在這裏錯過什麼?