Hello,
I have received several alerts from Admin Tools notifying me of the following error:
Exception Type: Joomla\CMS\Application\Exception\NotAcceptable File: /home/village/public_html/libraries/src/Application/ApiApplication.php Line: 271 Message: Could not match accept header
#0 /home/village/public_html/libraries/src/Application/ApiApplication.php(110): Joomla\CMS\Application\ApiApplication->route() #1 /home/village/public_html/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\ApiApplication->doExecute() #2 /home/village/public_html/api/includes/app.php(50): Joomla\CMS\Application\CMSApplication->execute() #3 /home/village/public_html/api/index.php(31): require_once('/home/village/p...') #4 {main}
Additionally, in the SERVER variables (among others), I noticed:
[REQUEST_URI] => /api/shared/config/config.env [REDIRECT_URL] => /api/shared/config/config.env
Since I assume this is an attack and it happens frequently, could you please advise if I can add something to the Admin Tools Professional configuration or .htaccess to protect against it?
Note: I use Akeeba Backup automated via command-line CRON jobs.
Thank you.
José Luis Martínez