ExamGecko
Question list
Search
Search

Related questions











Question 70 - 202-450 discussion

Report
Export

The following Apache HTTPD configuration has been set up to create a virtual host available at www.example.com and www2.example.com:

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?

A.
The configuration must be split into two VirtualHost sections since each virtual host may only have one name.
Answers
A.
The configuration must be split into two VirtualHost sections since each virtual host may only have one name.
B.
The port mentioned in opening VirtualHost tag has to be appended to the ServerName declaration's values.
Answers
B.
The port mentioned in opening VirtualHost tag has to be appended to the ServerName declaration's values.
C.
Both virtual host names have to be placed as comma separated values in one ServerName declaration.
Answers
C.
Both virtual host names have to be placed as comma separated values in one ServerName declaration.
D.
Both virtual host names have to be mentioned in the opening VirtualHost tag.
Answers
D.
Both virtual host names have to be mentioned in the opening VirtualHost tag.
E.
Only one Server name declaration may exist, but additional names can be declared in ServerAlias options.
Answers
E.
Only one Server name declaration may exist, but additional names can be declared in ServerAlias options.
Suggested answer: C
asked 18/09/2024
Jonathan Ang
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first