nerdexam
Oracle

1Z0-100 · Question #75

Examine the UserDir directives in this extract from /etc/httpd/conf/httpd.conf: <IfModule mod_userdir.c> UserDirenabled user1 UserDirdisabled user1 UserDirpublic_html </IfModule> A user attempts to…

The correct answer is A. The occurrence user1 in the list of disabled users causes an access denied error to the website. See the full explanation below for the reasoning.

Question

Examine the UserDir directives in this extract from /etc/httpd/conf/httpd.conf:

<IfModule mod_userdir.c> UserDirenabled user1 UserDirdisabled user1 UserDirpublic_html </IfModule> A user attempts to access user1's webpages using this URL:

httpd:/host01/~user1 Which statement describes the outcome?

Options

  • AThe occurrence user1 in the list of disabled users causes an access denied error to the website
  • BThe occurrence of user1 in the list of enabled users allows access to the website contained in
  • CThe configuration produces an error upon web server startup, because the enabled and disabled
  • DAccess is guaranteed because the UserDir public_html directive applies default access to all local

How the community answered

(27 responses)
  • A
    70% (19)
  • B
    4% (1)
  • C
    19% (5)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice