Bad request with Acquia Dev Desktop2 overriding installation
As an alternative solution, I tried to add the following setting setting to httpd.conf.

&lt;IfVersion&gt; = 2.4.25&gt;
 HttpProtocolOptions unsafe
&lt;/ IfVersion&gt;


'Bad request' message is solved.
The reason was that ServerName contained underscores.