https://issues.apache.org/bugzilla/show_bug.cgi?id=57384

Eric Covener <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Eric Covener <[email protected]> ---
Unfortunately from a httpd perspective, this is working as designed, for the
reason you suggested at the end of your report. 

If you omit the servername, it's calculated from the system hostname
(double-reverse DNS lookup of the system hostname).  The docs do not get this
exactly right.

The alternatives as a default behavior all seem too problematic to be viable
options:

* httpd could look for a matching servername in a way that the default
name-based vhost is not checked first (surprising change for basic function,
potentially more costly at runtime)
* httpd could use a dummy value rather than the system hostname as a default

I think it is necessary for the user to explicitly provide an alternative
ServerName in this case. I will take a todo to mention it in ServerName and
name-based vhosting docs. 

Even with the debian "default" virtualhost structured this way, it does not
seem to be a frequent problem, so I think it will have to remain the affected
users providing an alt ServerName.

-- 
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]

Reply via email to