View Full Version : .htaccess AddHandler and Action for XSL

09-11-2010, 01:15 AM
I'm attempting to use a handler to convert my XML files into whatever my XSL file says it should. I can properly do so for a single XML / XSL combo. I want to add a handler that will let me do it for any and all XML files. I found a tutorial (http://www.anyexample.com/programming/php/making_xml_xslt_driven_site_using_php.xml) to help me.

I'm having trouble with the Action portion:

AddHandler ae_xslt xml
Action ae_xslt ae-xslt.php

I get a 500 Internal Error. The ae-xslt.php file is in the same directory as the .htaccess file. What am I doing incorrectly?