PrepAway - Latest Free Exam Questions & Answers

Considering that DocumentRoot is set to /srv/www/default/html, which TWO of the following sentences are true?

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?

A.
Apache will only grant access to http://server/restricted/to authenticated users connecting from clients in the 10.1.2.0/24 network

B.
This setup will only work if the directory /srv/www/default/html/restricted/ is configured with AllowOverride AuthConfig Limit

C.
Apache will require authentication for every client requesting connections to http://server/restricted/

D.
Users connecting from clients in the 10.1.2.0/24 network won’t need to authenticate themselves to access http://server/restricted/

E.
The Satisfy directive could be removed without changing Apache behaviour for this directory

One Comment on “Considering that DocumentRoot is set to /srv/www/default/html, which TWO of the following sentences are true?


Leave a Reply