![]() |
htaccess help
Any one know the code to have htaccess check two htpasswd files instead of just one htpasswd file? Both htpassword files will be on the same server. I heard this can be done but can't find any info on this. If you know how or can lead me in the right direction would be a great help.
ICQ 102756498 [email protected] |
Quote:
we have a passwd file for each processor and a script that merges them all every minute on a cron |
Bump
|
When you use a .htaccess file (or, better, a Directory block in your config file) for authentication, it establishes a "realm" within a directory tree. Each realm has one data file, usually called .htpasswd, to resolve the User Name:Password combinations to determine a required valid-user. Realms can be overridden in a subdirectory within a realm, but not nested.
So, no, there is no coding that will have htaccess check two password files. However, the opposite can be done: You can use one central htpasswd file for more than one site with the use of the htgroup file (and a lot more tricks can be done, as well!).. |
All times are GMT -7. The time now is 08:01 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123