Htaccess: Invalid command '\xef\xbb\xbfDirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration
Материал из 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.
htaccess: Invalid command '\xef\xbb\xbfDirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration
Ошибка в логах:
Wed Jan 20 16:04:46 2016] [alert] [client 109.18.45.69] /home/user/public_html/.htaccess: Invalid command '\xef\xbb\xbfDirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration [Wed Jan 20 16:04:46 2016] [alert] [client 109.18.45.69] /home/user/public_html/.htaccess: Invalid command '\xef\xbb\xbfDirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration
Проблема в том что в начале строки - вставлены ненужные символы "\xef\xbb\xbf"
Решение - скопировать через CTRL+C содержимое .htaccess файла, обнулить файл и скопировать через CTRL+V содержимое обратно.