Most if not all of these code samples are from my SimpleThingFramework or STF. I’m doing two versions both namespaced and PEAR style. Though may drop the PEAR style version if it is not ultimately a benefit to the OpenSource community.
Apache .htaccess
.htaccess