Which statement describes the outcome?

Examine the UserDir directives in this extract from /etc/httpd/conf/httpd.conf:
Ifmodule mod_userdir.c>
UserDir enabled user1
UserDir disabled user1
UserDir public_html </ifModule>
The web server URL is http://host01.
A website exists in the user’s directory /home/user1/public_html.
A user attempts to access user1’s webpages by using the URL: http://host01/~user1
Which statement describes the outcome?
A. The occurrence of user1 in the list of disabled users causes an access denied error to the website contained in user1’s public_html subdirectory, overridding the enabled directive.
B. The occurrence of user1 in the list of enabled users allows access to the website contained in user1’s public_html subdirectory, overridding the disabled directive.
C. The configuration produces an error upon web server startup, because the enabled and disabled directives conflict.
D. Access is granted because the UserDir public_html directive applies default access to all local users on the system, overriding the enabled or disabled directive.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.