Не могу понять почему не работает модуль rewrite, сейчас имеется в конфиге /etc/apache2/apache2.conf
<Directory /var/www/html>
AllowOverride All
</Directory>
AccessFileName .htaccess
Также сам модуль тоже подключен
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
да и по указанному пути библиотеке есть
.htaccess для теста
RewriteEngine On
RewriteRule ^(.*)$ https://google.com [R=301,L]
Но редирект не происходит, не могу понять в чем проблема Модуль главное есть в подгрузки apache2ctl -M
Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
mime_module (shared)
mpm_event_module (shared)
negotiation_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
status_module (shared)
В чем может быть проблема?