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?

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



Leave a Reply 2

Your email address will not be published. Required fields are marked *


networkmanagers

networkmanagers

I have the same idea.

jldjs

jldjs

I would choose the same answer, but why B?