I've used Akeeba Pro since Joomla 1.5 and have not been hacked one time. I'm pretty sure it's due to the benefit of Admin Tools. Thanks
I just wanted to create a searchable document for those who use the .htaccess generator in Admin Tools.
I was asked to look into why a webp image was getting a permission denied.
I did some GoogleResearch and found that it is a new image format and while in transition you have to add some code to the .htaccess file.
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{DOCUMENT_ROOT}/$1.webp -f RewriteRule ^(wp-content/uploads.+)\.(jpe?g|png)$ $1.webp [T=image/webp,E=accept:1] </IfModule> <IfModule mod_headers.c> Header append Vary Accept env=REDIRECT_accept </IfModule> AddType image/webp .webp
Did not cure the issues and it didn't take me long to figure maybe somewhere in the .htacces file there was something disallowing it.
It was simple once I spotted the culprit.
SIMPLY add in Upper and Lower case, webp and WEBP to your allowed file formats area.
See screenshot.