Hi,
By default, Flarum stores this .htaccess file in the public directly of your intended installation directory. Make sure you’ve set up Apache to point to this directory as this is where all the magic takes place 🙂 Assets and everything that’s supposed to be public are in the public folder as well.
You can read more about how to configure your Apache rules to point to the public folder here.