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

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск

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

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>
Индекс цитирования