Solved

The Following Apache HTTPD Configuration Has Been Set Up to Create

Question 76

Multiple Choice

The following Apache HTTPD configuration has been set up to create a virtual host available at www.example.com and www2.example.com: 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. 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. The port mentioned in opening 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. Both virtual host names have to be placed as comma separated values in one declaration. D)  Both virtual host names have to be mentioned in the opening VirtualHost tag. Both virtual host names have to be mentioned in the opening tag. E)  Only one Server name declaration may exist, but additional names can be declared in ServerAlias options. Only one Server name declaration may exist, but additional names can be declared in ServerAlias options. 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. 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. The port mentioned in opening 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. Both virtual host names have to be placed as comma separated values in one declaration.
D) Both virtual host names have to be mentioned in the opening VirtualHost tag. Both virtual host names have to be mentioned in the opening tag.
E) Only one Server name declaration may exist, but additional names can be declared in ServerAlias options. Only one Server name declaration may exist, but additional names can be declared in ServerAlias options.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents