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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-06-2002, 04:20 PM   #1
PeekHoles
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]
PeekHoles is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-06-2002, 05:29 PM   #2
xroach
Confirmed User
 
Join Date: Feb 2002
Location: vancouver, bc
Posts: 963
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
xroach is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2002, 12:50 AM   #3
PeekHoles
Registered User
 
Industry Role:
Join Date: Jan 2002
Posts: 1,151
Bump
PeekHoles is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2002, 03:47 AM   #4
fiveyes
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>
fiveyes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.