Marius Burkard
2016-02-29 96f31df08510cf7be9c28224e91215953dc94e5a
- fixed problem with ipv6 set to *
1 files modified
2 ■■■ changed files
server/plugins-available/apache2_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -1709,7 +1709,7 @@
                    $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);