AH00526: Syntax error on line 120 of /etc/apache2/sites-enabled/010-website.conf:
Invalid command ‘AuthGroupFile’, perhaps misspelled or defined by a module not included in the server configuration
Action ‘configtest’ failed.
The Apache error log may have more information.
или 
[Wed Jan 01 17:15:22.524405 2023] [core:alert] [pid 2407241] [client 127.0.0.1:38520] /home/domains/domain.com/.htaccess: Invalid command 'AuthGroupFile', perhaps misspelled or defined by a module not included in the server configuration

 

Ошибка возникает из-за отсутствия модуля апача authz_groupfile. Установить его можно выполнив в консоли сервера: 

sudo a2enmod authz_groupfile

И перезапустить апач:

systemctl restart apache2

Если нет возможности установить authz_groupfile  , то ошибку можно устранить удалив из файла конфига указанного в ошибке строки начинающиеся с 

AuthGroupFile ....

Но следует убедиться что авторизация обеспечивается другими методами или вовсе не нужна!