Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 202-450 Topic 4 Question 111 Discussion

Actual exam question for LPI's 202-450 exam
Question #: 111
Topic #: 4
[All 202-450 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Lilli
1 days ago
I disagree, I believe the answer is D) The browser prompts the visitor for a username and password but logins for usera do not seem to work.
upvoted 0 times
...
Jean
4 days ago
I think the correct answer is A) The user usera can access the site using the password s3cr3t.
upvoted 0 times
...
Mari
8 days ago
The correct answer is A. The configuration in the .htaccess file and the .htpasswd file should allow the user 'usera' to access the directory using the password 'S3cr3t'.
upvoted 0 times
Gilma
4 hours ago
D) The browser prompts the visitor for a username and password but logins for usera do not seem to work
upvoted 0 times
...
Kimberlie
2 days ago
A) The user usera can access the site using the password s3cr3t
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77
a