![]() |
Need htaccess help!
i have a directory that i need to protect, BUT have multiple password files that will give access to that directory. basicly a chat board for members of multiple websites so it needs to consult multiple password files for access.
anyone know if this can be done? |
bump for some help ;)
|
aw come on...no body can help a brutha out?
|
Normally, it is the other way around :
4 or 5 sites sharing the same password file thru their respective .htaccess file... Search, there must be a solution ... I have no time to do that search .. sorry. |
bump for u man, takes a while to get responses
|
are the websites on the same server? or in the same datacenter?
|
Quote:
|
Quote:
|
Then the easiest way would be to join all the htpasswd files into a new one for the forum. You could have a cronjob doing it every few minutes to keep the new file updated.
Something like "cat passfile1 passfile2 passfile3 passfile4 > newpassfile" and then have the htaccess for the forum point to newpassfile |
Quote:
|
Quote:
|
Quote:
|
cool. thanks for the help guys! I really appreciate it
|
Someday - and that day may never come - I'll call upon you to do a service for me. But until that day, accept this justice as a gift on my.... :1orglaugh
|
Quote:
|
I don't know if these will help you, but I thought I'd pass them along:
.htaccess tutorial http://www.freewebmasterhelp.com/tutorials/htaccess/ .htaccess file generator http://cooletips.de/htaccess/ Hope it helps you. Best of Luck! :) |
All times are GMT -7. The time now is 10:23 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123