Which statement describes the outcome?

Examine the UserDir directives in this extract from /etc/httpd/conf/httpd.conf:
<lfmodule mod_userdir.c>
UserDir enabled userl UserDir disabled userl 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 userl’s webpages by using the URL: http://host01 /-userl

Which statement describes the outcome?

Examine the UserDir directives in this extract from /etc/httpd/conf/httpd.conf:
<lfmodule mod_userdir.c>
UserDir enabled userl UserDir disabled userl 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 userl’s webpages by using the URL: http://host01 /-userl

Which statement describes the outcome?

A.
The occurrence ofuserl in the list of disabled users causes anaccess deniederror to the website contained inuserl ’spublic_htmlsubdirectory, overridding theenableddirective.

B.
The occurrence ofuserl in the list of enabled users allows access to the website contained inuserl ’spublicjitmlsubdirectory, overridding thedisableddirective.

C.
The configuration produces an error upon web server startup, because theenabledanddisableddirectives conflict.

D.
Access is granted because theUserDir public_htmldirective applies default access to all local users on the system, overriding theenabledordisableddirective.



Leave a Reply 3

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


deyo

deyo

A, but not sure

some.guy

some.guy

A

The presence of a Disable overrides all other concerns.

Chu Ha Khanh

Chu Ha Khanh

The keyword disabled followed by a space-delimited list of usernames. Usernames that appear in such a list will never have directory translation performed, even if they appear in an enabled clause.
A