.htaccess on per page basis

I love the .htaccess editor that is in the Publishing Settings. Would there be any way to add this to the Page Inspector as well so a user can enable it there and create an .htaccess file in specific folders on their site?

In your htaccess fileā€¦

<Directory /var/www/weavers.space/subfolder/>
...insert rules here...
</Directory>