Aviv
17-05-2020, 14:09
Нигде не нашел правильный синтакстис для нескольких файлов в корне сайта
Есть доступ к файлу robots.txt
# Allow read files.
<Files robots.txt>
Allow from all
</Files>
Пробовал по разному добавлять разрешение на другие файлы, например
# Allow read files.
<Files sotrudniki.html>
Allow from all
<Files robots.txt>
Allow from all
</Files>
или так
# Allow read files.
<Files sotrudniki.html>
Allow from all
</Files>
<Files robots.txt>
Allow from all
</Files>
или так
<Files sotrudniki.html, robots.txt>
Allow from all
</Files>
все равно выдает ошибку
500 Error, please check your php script / enable display_errors in your cpanel
Подскажите как правильно
Есть доступ к файлу robots.txt
# Allow read files.
<Files robots.txt>
Allow from all
</Files>
Пробовал по разному добавлять разрешение на другие файлы, например
# Allow read files.
<Files sotrudniki.html>
Allow from all
<Files robots.txt>
Allow from all
</Files>
или так
# Allow read files.
<Files sotrudniki.html>
Allow from all
</Files>
<Files robots.txt>
Allow from all
</Files>
или так
<Files sotrudniki.html, robots.txt>
Allow from all
</Files>
все равно выдает ошибку
500 Error, please check your php script / enable display_errors in your cpanel
Подскажите как правильно