Is there a way to perform an .htaccess edit in bulk through ssh?
I have multiple websites which goes like this:
/home/user/website1/public_html/.htaccess /home/user/website2/public_html/.htaccess ...
And would like to add (not just replace the whole .htaccess ) at bottom of the file couple new lines, such as:
<FilesMatch ".+\.php$"> Require all denied </FilesMatch>
Is there a way to do that?