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-03-29, 16:48:25

Author Topic: Apache domains.conf.tpl should use * instead of an IP  (Read 3003 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 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.029 seconds with 19 queries.

web stats analysis