Oracle
1Z0-105 · Question #49
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> A website exists…
The correct answer is B. The occurrence of user1 in the list of enabled users allows access to the website contained. 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> UserDir enabled user1 UserDir disabled user1 UserDir public_html </ifModule> A website exists in the user's directory /home/user1/public_html. A user attempts to access user1's webpages by using the URL: Which statement describes the outcome?
Options
- AThe occurrence of 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
- CThe configuration produces an error upon web server startup, because the enabled and disabled
- DAccess is granted because the UserDir public_html directive applies default access to all local
How the community answered
(46 responses)- A2% (1)
- B83% (38)
- C9% (4)
- D7% (3)
Community Discussion
No community discussion yet for this question.