LPIC-2 Certified Linux Engineer (202-450) (#34)

In order to protect a directory on an Apache HTTPD web server with a password, this configuration was added to an

.htaccess

file in the respective directory:

Furthermore, a file

/var/www/dir/ .htpasswd

was created with the following content:

usera:S3cr3t

Given that all these files were correctly processed by the web server processes, which of the following statements is true about requests to the directory?

The user
usera
can access the site using the password
s3cr3t
Accessing the directory as
usera
raises HTTP error code 442 (User Not Existent)
Requests are answered with HTTP error code 500 (Internal Server Error)
The browser prompts the visitor for a username and password but logins for
usera
do not seem to work
The web server delivers the content of the directory without requesting authentication