Apache - 500 ошибка - configuration error: couldn't perform authentication. AuthType not set!

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Доступная цена

Apache - 500 ошибка - configuration error: couldn't perform authentication. AuthType not set!

Ошибка вида:

configuration error:  couldn't perform authentication. AuthType not set!: file.txt

Решение - удалить строки

 Require all granted
или
Require all denied

из .htaccess файла или же из конфига httpd.conf


Для Opencart это может быть прописано в файл .htaccess:

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Require all denied
</FilesMatch>