LPI
202-450 · Question #345
The following Apache HTTPD configuration has been set up to create a virtual host available at Even though Apache HTTPD correctly processed the configuration file, requests to both names are not…
The correct answer is E. Only one Server name declaration may exist, but additional names can be declared in ServerAlias. You've hit your weekly limit · resets 5am (America/New_York)
209 Web Services
Question
The following Apache HTTPD configuration has been set up to create a virtual host available at Even though Apache HTTPD correctly processed the configuration file, requests to both names are not handled correctly. What should be changed in order to ensure correct operations?
Exhibit
Options
- AThe configuration must be split into two VirtualHost sections since each virtual host may only have
- BThe port mentioned in opening VirtualHost tag has to be appended to the ServerName declaration's
- CBoth virtual host names have to be placed as comma separated values in one ServerName
- DBoth virtual host names have to be mentioned in the opening VirtualHost tag.
- EOnly one Server name declaration may exist, but additional names can be declared in ServerAlias
How the community answered
(20 responses)- A5% (1)
- C5% (1)
- D10% (2)
- E80% (16)
Explanation
You've hit your weekly limit · resets 5am (America/New_York)
Topics
#virtual host#ServerAlias#Apache HTTPD#name-based hosting
Community Discussion
No community discussion yet for this question.
