From 96f31df08510cf7be9c28224e91215953dc94e5a Mon Sep 17 00:00:00 2001 From: Marius Burkard Date: Mon, 29 Feb 2016 20:03:14 +0100 Subject: [PATCH] - fixed problem with ipv6 set to * --- server/plugins-available/apache2_plugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index 3237bb574b..b076ca9c2c 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -1709,7 +1709,7 @@ class apache2_plugin { $data['new']['ipv6_address'] = implode(':', $explode_v6); } } - + if($data['new']['ipv6_address'] == '*') $data['new']['ipv6_address'] = '::'; $tmp_vhost_arr = array('ip_address' => '['.$data['new']['ipv6_address'].']', 'ssl_enabled' => 0, 'port' => 80); if(count($rewrite_rules) > 0) $tmp_vhost_arr = $tmp_vhost_arr + array('redirects' => $rewrite_rules); if(count($alias_seo_redirects) > 0) $tmp_vhost_arr = $tmp_vhost_arr + array('alias_seo_redirects' => $alias_seo_redirects); -- GitLab