HTACCESS Wrappers with PHP: Really interesting technique of using Apache directives to have Apache send Web requests to PHP scripts. You can do this already via auto_prepend and auto_append files, but it’s interesting to see someone do this via Apache directive rather than php.ini configuration.
To start off, make a folder on your web host called “header”. Create a new text file and enter the following:
AddHandler headered .htm
AddHandler headered .html
Action headered /header/header.php
I’ve tried very hard to find a point to this, rather than using php.ini configuration, but I can’t. The only thing I can think of is to prevent programmers from overriding auto_prepend or auto_appened directives in an .htaccess file. But why?