Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 202-450 Topic 5 Question 82 Discussion

Actual exam question for LPI's 202-450 exam
Question #: 82
Topic #: 5
[All 202-450 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B, D, E

Contribute your Thoughts:

Inocencia
1 months ago
I'm confident that the correct answer is C. Commas are the way to go when you need to associate multiple host names with a single virtual host.
upvoted 0 times
Olga
12 days ago
I agree with you, C is the correct answer. Multiple host names should be placed as comma separated values in one ServerName declaration.
upvoted 0 times
...
Lorrie
18 days ago
I believe the answer is D. Both virtual host names should be mentioned in the opening VirtualHost tag.
upvoted 0 times
...
Vince
1 months ago
I think the correct answer is E. You can have multiple names declared in ServerAlias options.
upvoted 0 times
...
...
Craig
2 months ago
Haha, this question is a real head-scratcher! I bet the exam writers are chuckling at the poor souls who get this one wrong.
upvoted 0 times
Willard
5 days ago
I know, right? These exam questions can be tricky sometimes!
upvoted 0 times
...
Pamella
7 days ago
E) Only one Server name declaration may exist, but additional names can be declared in ServerAlias options.
upvoted 0 times
...
Kristian
1 months ago
A) The configuration must be split into two VirtualHost sections since each virtual host may only have one name.
upvoted 0 times
...
...
Ronnie
2 months ago
I'm a bit stumped on this one. I'm going to have to double-check the Apache documentation to make sure I understand the proper way to set up virtual hosts.
upvoted 0 times
Starr
5 days ago
C) Both virtual host names have to be placed as comma separated values in one ServerName declaration.
upvoted 0 times
...
Floyd
13 days ago
B) The port mentioned in opening VirtualHost tag has to be appended to the ServerName declaration's values.
upvoted 0 times
...
Norah
29 days ago
A) The configuration must be split into two VirtualHost sections since each virtual host may only have one name.
upvoted 0 times
...
...
Stanton
2 months ago
Hmm, I was thinking it might be E. Putting the additional names in ServerAlias sounds like the right approach to me.
upvoted 0 times
...
Alfreda
2 months ago
I'm pretty sure the answer is C. The configuration should have both virtual host names listed as comma-separated values in the ServerName declaration.
upvoted 0 times
Kris
18 days ago
I agree with you, the correct answer is C. Both virtual host names should be placed as comma separated values in one ServerName declaration.
upvoted 0 times
...
Dona
23 days ago
Actually, I think the answer is A. The configuration must be split into two VirtualHost sections.
upvoted 0 times
...
Trinidad
27 days ago
No, I believe the correct answer is D. Both virtual host names should be mentioned in the opening VirtualHost tag.
upvoted 0 times
...
Gladys
1 months ago
Yes, that makes sense. Having both names in one ServerName declaration should fix the issue.
upvoted 0 times
...
Alison
1 months ago
I think you're right, C seems like the correct answer.
upvoted 0 times
...
Candida
1 months ago
I think the answer is E. You can have multiple names declared in ServerAlias options.
upvoted 0 times
...
...
Aaron
2 months ago
But wouldn't it make more sense to have multiple ServerAlias options instead of multiple ServerName declarations?
upvoted 0 times
...
Karon
2 months ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Aaron
2 months ago
I think the answer is E.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77