![]() |
![]() |
![]() |
||||
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
Industry Role:
Join Date: May 2008
Location: Tuscany, Italy
Posts: 557
|
Apache question
Quick question...is there anyway to sync the htpasswd file of two domains, each hosted on its own ftp server?
Specifially, i would like users added to server "A" to be copied in server "B"... made the BIG mistake to put sites on two different servers...so CCBill can't help me here...
__________________
Feet4Cash - Join the first 100% foot fetish affiliate program! Promote the beauty of girl's feet! 50% on all sales and rebills! 5% webmaster ref! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
|
Pretty sure mod_auth only accepts a local file_path for AuthUserFile, so your best bet woud be to either mount a shared area on one server and have your htpasswd file be located in there, or use something like cronjob+rsync to sync them every 30-60 seconds or as often as you need it.
A more advanced method would be to use and configure mod_proxy for your site on one server to load as if it were located on the other.
__________________
Skype variuscr - Email varius AT gmail |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
|
That's a tough one, don't think so. However CCBill has mysql scripts you can use... I recommend you get both sites to use the same database then talk to your host on how they can sync the db's up.
__________________
![]() ![]() ![]() It's all disambiguation ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Nov 2005
Location: Seattle, WA
Posts: 510
|
mysql based authentication would do the trick
__________________
ICQ: 275335837 |
![]() |
![]() ![]() ![]() ![]() ![]() |