![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
|
bump for some help ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
|
aw come on...no body can help a brutha out?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,664
|
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.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2007
Posts: 2,240
|
bump for u man, takes a while to get responses
__________________
need video editing done? hit me up! ICQ: 10347906 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
|
are the websites on the same server? or in the same datacenter?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
|
yeah, i spent a lot of last night searching with no luck so thought with the wealth of knowledge on this board, maybe someone here might have an answer ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,664
|
for the cron job, if this could work, you can use rsync to keep the files " synced " ...
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
|
cool. thanks for the help guys! I really appreciate it
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
|
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....
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Mar 2003
Location: Western NY
Posts: 5,114
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Industry Role:
Join Date: Mar 2007
Location: Phoenix, Arizona
Posts: 1,727
|
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! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |