htaccess apache upgrades

apache 2.4 compatibility
module protections
closes #683
closes #580
closes #682