LPI
202-450 · 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. You've hit your weekly limit · resets 5am (America/New_York)
209 Web Services
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
(23 responses)- B78% (18)
- C17% (4)
- E4% (1)
Explanation
You've hit your weekly limit · resets 5am (America/New_York)
Topics
#.htaccess#Satisfy directive#access control#Basic authentication
Community Discussion
No community discussion yet for this question.