Apache question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nyllover
    Confirmed User
    • May 2008
    • 558

    #1

    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!
  • Varius
    Confirmed User
    • Jun 2004
    • 6890

    #2
    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

    Comment

    • TheDoc
      Too lazy to set a custom title
      • Jul 2001
      • 13827

      #3
      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.
      ~TheDoc - ICQ7765825
      It's all disambiguation

      Comment

      • EDepth
        Confirmed User
        • Nov 2005
        • 510

        #4
        mysql based authentication would do the trick
        ICQ: 275335837

        Comment

        Working...