![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Industry Role:
Join Date: Jan 2002
Posts: 1,151
|
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
Confirmed User
Join Date: Feb 2002
Location: vancouver, bc
Posts: 963
|
Quote:
we have a passwd file for each processor and a script that merges them all every minute on a cron |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Industry Role:
Join Date: Jan 2002
Posts: 1,151
|
Bump
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2001
Location: New Orleans
Posts: 1,680
|
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!)..
__________________
<CENTER><A HREF="http://www.hot-off-bourbon.com/" target="_blank"><IMG SRC="http://www.hot-off-bourbon.com/images/hob-logosmall.jpg" border="0"></A> <FONT face="Comic Sans MS" SIZE="-1"><I>Mardi Gras, Spring Break, Wet-T, Night Club Action, UpSkirt, Oil Wrestling, Voyeur</I></FONT></CENTER> |
![]() |
![]() ![]() ![]() ![]() ![]() |