Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - 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
5 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
11 days ago
I believe the answer is D. Both virtual host names should be mentioned in the opening VirtualHost tag.
upvoted 0 times
...
Vince
25 days ago
I think the correct answer is E. You can have multiple names declared in ServerAlias options.
upvoted 0 times
...
...
Craig
1 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
Pamella
12 hours ago
E) Only one Server name declaration may exist, but additional names can be declared in ServerAlias options.
upvoted 0 times
...
Kristian
23 days 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
Floyd
6 days ago
B) The port mentioned in opening VirtualHost tag has to be appended to the ServerName declaration's values.
upvoted 0 times
...
Norah
22 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
11 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
16 days ago
Actually, I think the answer is A. The configuration must be split into two VirtualHost sections.
upvoted 0 times
...
Trinidad
20 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
28 days ago
Yes, that makes sense. Having both names in one ServerName declaration should fix the issue.
upvoted 0 times
...
Alison
30 days 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