Automatic `.htaccess` generation

TODO: Check and install `.htaccess` at installation. Test everything.