GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   htaccess help (https://gfy.com/showthread.php?t=92332)

PeekHoles 12-06-2002 04:20 PM

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]

xroach 12-06-2002 05:29 PM

Quote:

Originally posted by Forplaz
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]


we have a passwd file for each processor and a script that merges them all every minute on a cron

PeekHoles 12-07-2002 12:50 AM

Bump

fiveyes 12-07-2002 03:47 AM

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