7

Automatically migrating .htaccess rules to Apache config file

view full story
linux-howto

http://serverfault.com – I didn't have any luck finding anything useful on my own, so: I would like to be able to automatically migrate all my .htaccess rules to the global Apache (2.2) config file, and disable .htaccess file parsing (for performance reasons). That is: after every code push a script would find all .htaccess files in a given directory (/var/webapps) all the rules would be parsed and appropriately merged[1] results would be written to Apache config file, and the server reloaded I'm probably capable of writing this (or at least parts of this) myself, but I was wondering whether something well-teste (HowTos)