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 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.

B.
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.

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

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

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



Leave a Reply 0

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