The purpose of configtest is more of a syntax check rather than a sanity check.
In order for name based virtual hosts to work, NameVirtualHost needs to be set, 
but not setting it does not cause Apache to fail to start, which is what 
"apachectl configtest" was made to determine. Also, the wording in the 
documentation is "The NameVirtualHost directive is a required directive if you 
want to configure name-based virtual hosts."  It's perfectly valid to not set 
NameVirtualHost, but to set ServerName in the one's VirtualHosts as that 
servername is used for other things than routing requests to the right place 
(it's e.g. shown in directory indexes).

In summary, I'm going to reject this bug. Thanks for reporting it,
though.

Cheers.

** Changed in: apache2 (Ubuntu)
       Status: Unconfirmed => Rejected

-- 
NameVirtualHost is required but configtest doesn't warn about lack of it
https://bugs.launchpad.net/bugs/75790
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to