Select the TWO correct statements about the following excerpt from httpd.conf:

Select the TWO correct statements about the following excerpt from httpd.conf: <Directory
/var/web/dir1> <Files private.html> Order allow, deny Deny from all </Files> </Directory>

Select the TWO correct statements about the following excerpt from httpd.conf: <Directory
/var/web/dir1> <Files private.html> Order allow, deny Deny from all </Files> </Directory>

A.
The configuration will allow access to any file named private.html under /var/web/dir1, but
it will deny access to any other files

B.
The configuration will allow access just to the file named private.html under /var/web/dir1

C.
The configuration will deny access to /var/web/dir1/private.html, but it will allow access to
/var/web/dirl/subdir2/private.htm1, for example.

D.
The configuration will deny access to /var/web/dir1/private.html,

/var/web/dirl/subdir2/private.html, /var/web/dirl/subdir3/private.html and any other instance
of private.html found under the /var/web/dir1/directory.

E.
The configuration will allow access to /var/web/private.html, if it exists



Leave a Reply 3

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


Gustavo Noleto

Gustavo Noleto

What is the correct answer ?
When I click in “Show Answer” all options are green.

sergiu

sergiu

D. and E. are correct answers.

g3rb

g3rb

D and E are correct