https://bz.apache.org/bugzilla/show_bug.cgi?id=62572
Bug ID: 62572
Summary: Moving name based VirtualHost to ServerAlias prevents
apache from restarting
Product: Apache httpd-2
Version: 2.4.34
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_md
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When i have two separate name based virtual hosts using Let's Encrypt and i
start apache httpd everything is fine:
--- START conf.snippet ---
Listen <MYIP>:443
MDomain server1.mydomain.com
MDomain server2.mydomain.com
<VirtualHost <MYIP>:443>
ServerName server1.mydomain.com
ServerAdmin [email protected]
.
</VirtualHost>
<VirtualHost <MYIP>:443>
ServerName server2.mydomain.com
ServerAdmin [email protected]
...
</VirtualHost>
--- END conf.snippet ---
Then i change the config and configure server2.mydomain.com as an alias of
server1.mydomain.com and httpd refuses to start:
--- START conf.snippet ---
Listen <MYIP>:443
MDomain server1.mydomain.com
<VirtualHost <MYIP>:443>
ServerName server1.mydomain.com
ServerAdmin [email protected]
ServerAlias server2.mydomain.com
...
</VirtualHost>
--- END conf.snippet ---
Log Messages:
26/07 11:37:20.971 err (22)Invalid argument: AH10073: synching 1 mds to
registry 26/07 11:37:20.971 err (22)Invalid argument: md server1.mydomain.com
shares domain 'server2.mydomain.com' with md server2.mydomain.com
26/07 11:37:20.971 warning domain server2.mydomain.com, configured in md
server1.mydomain.com, is part of the stored md server2.mydomain.com. That md
however is no longer mentioned in the config. If you longer want it, remove the
md from the store.
Workaround:
- Delete ${MDStoreDir}/domains/server2.mydomain.com before restart.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]