Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Depending on the parent environment and network configuration, like Amazon EC2, VirtualBox etc, the IP is not always correctly printed in the vhost file, while it should fall back to the wildcard *
in this case, like it is used in the Apache version by default for non-SSL vhosts.
Comments
Comment #1
omega8cc CreditAttribution: omega8cc commentedThis commit fixes the issue: http://drupalcode.org/sandbox/omega8cc/1111100.git/commit/f8b91b7
Comment #2
omega8cc CreditAttribution: omega8cc commentedWe have to modify the server config template again to avoid issue with no longer working default vhost, as any vhost with defined IP instead of wildcard will take precedence over default.
For the same reason we can't switch now to use wildcard only everywhere, because it could break configuration on upgrade, until all vhosts/sites are re-verified.
The fix: http://drupalcode.org/sandbox/omega8cc/1111100.git/commit/da0afdf
Comment #3
anarcat CreditAttribution: anarcat commentedSeems reasonable, pushed to both 2.x and 1.x.