Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-18, 20:59:21

Author Topic: Apache domains.conf.tpl should use * instead of an IP  (Read 3022 times)

0 Members and 1 Guest are viewing this topic.

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
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 = '*';

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.089 seconds with 21 queries.

web stats analysis