Refactored the cookbook again so htaccess is in the right order.