diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index f6a0a1ce7bb20f2a3328e4e619c83c934d8c94cf..82c17a9b107d182ac2d761f04113508e737a3260 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -1491,6 +1491,12 @@ class apache2_plugin { $tpl->setVar('rewrite_enabled', 0); } + if($data['new']['ssl'] == 'n') { + $tpl->setVar('rewrite_enabled', 0); + } else { + $tpl->setVar('rewrite_enabled', 1); + } + //$tpl->setLoop('redirects',$rewrite_rules); /**