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

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Версия от 08:45, 28 июля 2017; Admin iph (обсуждение | вклад) (Новая страница: «link=https://bit.ly/3tbFsd6| Доступная цена === Apache - 500 ошибка - configuration error: couldn't perform a…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

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

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>