nerdexam
LPI

202-450 · Question #75

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>

The correct answer is A. The configuration will deny access to /var/web/dir1/private.html, E. The configuration will allow access to /var/web/private.html, if it exists. You've hit your weekly limit · resets 5am (America/New_York)

HTTP Services

Question

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>

Options

  • AThe configuration will deny access to /var/web/dir1/private.html,
  • BThe configuration will deny access to /var/web/dir1/private.html, but it will allow access to
  • CThe configuration will allow access to any file named private.html under /var/web/dir1, but it
  • DThe configuration will allow access just to the file named private.html under /var/web/dir1
  • EThe configuration will allow access to /var/web/private.html, if it exists

How the community answered

(14 responses)
  • A
    79% (11)
  • B
    7% (1)
  • C
    14% (2)

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#Apache#access control#Directory directive#Files directive

Community Discussion

No community discussion yet for this question.

Full 202-450 Practice