Apache - 500 ошибка - configuration error: couldn't perform authentication. AuthType not set!: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
(Новая страница: «link=https://bit.ly/3tbFsd6| Доступная цена === Apache - 500 ошибка - configuration error: couldn't perform a…»)
 
(нет различий)

Текущая версия на 08:45, 28 июля 2017

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

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>