LPI
117-202 · Question #299
When the Apache HTTP Server is configured to use name-based virtual hosts:
The correct answer is E. The setting NameVirtualHost *:80 indicates that all name based virtual hosts will listen on. See the full explanation below for the reasoning.
Question
When the Apache HTTP Server is configured to use name-based virtual hosts:
Options
- AIt's necessary to configure a different IP address for each virtual host.
- BThe Listen directive is required for each virtual host.
- CEach virtual host can serve requests to exactly one hostname only.
- DIt is required to create a VirtualHost block for the main host.
- EThe setting NameVirtualHost *:80 indicates that all name based virtual hosts will listen on
How the community answered
(35 responses)- A6% (2)
- B11% (4)
- D3% (1)
- E80% (28)
Community Discussion
No community discussion yet for this question.