![]() |
|
![]() | ||
|
Subject:
Does Apache .htaccess password protection support multiple user/password files?
Category: Computers Asked by: wizardofyendor-ga List Price: $5.00 |
Posted:
26 Aug 2002 14:20 PDT
Expires: 27 Aug 2002 10:04 PDT Question ID: 58770 |
It is well-documented that in Apache, you can restrict access to particular subdirectories using .htaccess files. For example, the following lines in an .htaccess file will restrict access to those listed in a specific file named "users.txt": AuthName "restricted stuff" AuthType Basic AuthUserFile /usr/local/etc/httpd/users.txt My question is, can you use multiple "AuthUserFile" lines? For example, AuthUserFile /usr/local/etc/httpd/basic_membership.txt AuthUserFile /usr/local/etc/httpd/premium_membership.txt To consider this question answered I need to know the specific versions of Apache that support this feature (if any). |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: Does Apache .htaccess password protection support multiple user/password files?
From: mikeplokta-ga on 27 Aug 2002 02:59 PDT |
I believe you will find that in all versions of Apache only the last AuthUserFile entry will be recognised -- but it should be easy enough to experiment and verify this. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |