nerdexam
LPI

202-400 · Question #16

Consider the following / srv/www/ default/html/ restricted/.htaccess AuthType Basic AuthUserFile / srv/www/ security/ site-passwd AuthName Restricted Require valid-user Order deny,allow Deny from…

The correct answer is B. This setup will only work if the directory /srv/www/default/html/restricted/ is configured with D. Users connecting from clients in the 10.1.2.0/24 network won't need to authenticate. See the full explanation below for the reasoning.

Question

Consider the following / srv/www/ default/html/ restricted/.htaccess AuthType Basic AuthUserFile / srv/www/ security/ site-passwd AuthName Restricted Require valid-user Order deny,allow Deny from all Allow from 10.1.2.0/24 Satisfy any Considering that DocumentRoot is set to /srv/www/default/html, which TWO of the following sentences are true? from clients in the 10.1.2.0/24 network

Options

  • BThis setup will only work if the directory /srv/www/default/html/restricted/ is configured with
  • CApache will require authentication for every client requesting connections to
  • DUsers connecting from clients in the 10.1.2.0/24 network won't need to authenticate
  • EThe Satisfy directive could be removed without changing Apache behaviour for this directory

How the community answered

(35 responses)
  • B
    80% (28)
  • C
    6% (2)
  • E
    14% (5)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice