LPI
202-400 · Question #73
Given this excerpt from an Apache configuration file, which of the numbered lines has INCORRECT syntax? 1: <VirtualHost *:80> 2: ServerAdmin [email protected] 3: DocumentRoot…
The correct answer is E. None. The configuration is valid. See the full explanation below for the reasoning.
Question
Given this excerpt from an Apache configuration file, which of the numbered lines has INCORRECT syntax? 1: <VirtualHost *:80> 2: ServerAdmin [email protected] 3: DocumentRoot /home/http/admin 4: ServerName admin.server.example.org 5: DirectoryIndex index.php default.php 6: ErrorLog logs/admin.server.example.org-error_log 7: CustomLog logs/admin.server.example.org-access_log common 8: </VirtualHost>
Options
- A1
- B1 and 4
- C1, 4 and 7
- D1 and 5
- ENone. The configuration is valid
How the community answered
(18 responses)- B6% (1)
- C6% (1)
- D17% (3)
- E72% (13)
Community Discussion
No community discussion yet for this question.