MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Almas on 2014-12-22, 11:28:36

Title: Apache domains.conf.tpl should use * instead of an IP
Post by: Almas on 2014-12-22, 11:28:36
If you use one domain with SSL with server IP address instead of an * in this file then it creates virtual host file and apache work with only this domain and all other virtual hosts fails.

In my case there this problem occured. Then I changed this files:

/opt/configs/apache/tpl/domains.conf.tpl
/usr/local/lxlabs/kloxo/file/apache/tpl/domains.conf.tpl


I added $ip = '*'; to those files like below and this fixed and all Virtualhosts started to work.

Define port ${global::port}
Define portssl ${global::portssl}
<?php
        if (!$reverseproxy) {
                if  ($ip !== '*') {
$ip = '*';