Which statement describes the outcome?

Examine the UserDir directives in this extract from /etc/httpd/conf/httpd.conf:UserDirenabled user1UserDirdisabled user1UserDirpublic_htmlThe web server URL is http://host01.A website server URL is http://host01.A user attempts to access user1’s webpages using this URL: httpd:/host01/~user1Which statement describes the outcome?

Question:

Which statement describes the outcome?

Options:

The occurrence user1 in the list of disabled users causes an access denied error to the website contained in user1’1 public_html subdirecroty, overriding the enabled directive.

The occurrence of user1 in the list of enabled users allows access to the website contained in user1’s public_html subdirectory, overriding the disabled directive.

The configuration produces an error upon web server startup, because the enabled and disabled directive conflict.

Access is guaranteed because the UserDir public_html directive applies default access to all local users on the system, overriding the enabled of disabled directive.

Correct Answer

The Correct Answer for this Question is

The occurrence of user1 in the list of enabled users allows access to the website contained in user1’s public_html subdirectory, overriding the disabled directive.

You may also like...

Leave a Reply

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