LPI
202-400 · 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. See the full explanation below for the reasoning.
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
(47 responses)- A72% (34)
- B9% (4)
- C4% (2)
- D15% (7)
Community Discussion
No community discussion yet for this question.