which of the numbered lines has INCORRECT syntax?

Given this excerpt from an Apache configuration file, which of the numbered lines has
INCORRECT syntax?
<code>
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>
</code>

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>

A.
1

B.
1 and 4

C.
1, 4 and 7

D.
1 and 5

E.
None. The configuration is valid



Leave a Reply 0

Your email address will not be published. Required fields are marked *