Я сталкиваюсь с этой ошибкой при развертывании моего веб-сайта laravel на сервере Centos 7
.htaccess: опции здесь не разрешены
[Sat Oct 18 09:38:43.336180 2014] [core:alert] [pid 13593] [client 182.186.240.3:7034] /home/test/public_html/.htaccess: Options not allowed here
[Sat Oct 18 09:38:43.727177 2014] [core:alert] [pid 13589] [client 182.186.240.3:7123] /home/test/public_html/.htaccess: Options not allowed here
Вы должны предоставить эту строку в <Directory...>
раздел конфигурации Apache и перезапустите сервер Apache, чтобы использовать Options
директивы в .htaccess
:
Options All
Согласно документации Apache:
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
Других решений пока нет …