.htaccess question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • natkejs
    Confirmed User
    • Jan 2003
    • 1640

    #1

    .htaccess question

    Lets say a member logins to my site and I automatically wants him to be logged in to 2 or 3 of my other sites what do I do?

    In our CARMA setup now we show the latest sets from various sites but it asks for logins to each site since they're not logged in to them.

    Could someone point me in the right direction there?
  • DutchTeenCash
    I like Dutch Girls
    • Feb 2003
    • 21684

    #2
    you could setup a cron that copies the htpasswd

    ICQ 16 91 547 - SKYPE dutchteencash
    bob AT dutchteencash DOT com
    ... did you see our newest Sweet Natural Girl Priscilla (18)?

    Comment

    • psili
      Confirmed User
      • Apr 2003
      • 5526

      #3
      I've never tried it or heard about it, but if the sites are on the same server, can't you symlink the htpasswd files to point to just one?

      And apologies on the above post if it's a dumb idea... just popped in the head.
      Your post count means nothing.

      Comment

      • natkejs
        Confirmed User
        • Jan 2003
        • 1640

        #4
        not sure how that would make the login box not appear once he logs in to one site and I display a picture on a whole different domain that he's not logged in to.

        I was thinking about doing it by setting apache enviromental values and do the whole login process using PHP I'm afraid that would open up the entire members area except that one script doing the login.

        am I wrong?

        I'm not a noob to programming but I'm kinda new to Apache so bear with me

        Comment

        • natkejs
          Confirmed User
          • Jan 2003
          • 1640

          #5
          Originally posted by psili
          I've never tried it or heard about it, but if the sites are on the same server, can't you symlink the htpasswd files to point to just one?

          And apologies on the above post if it's a dumb idea... just popped in the head.
          they use the same htpasswd files that's not the problem, the problem is apache considers a login to be for one domain only. I want them to be able to login to domain 1 but get access to domain 2 and 3 also but not domain 4 and 5.

          get the point?

          Comment

          • DutchTeenCash
            I like Dutch Girls
            • Feb 2003
            • 21684

            #6
            Originally posted by natkejs
            they use the same htpasswd files that's not the problem, the problem is apache considers a login to be for one domain only. I want them to be able to login to domain 1 but get access to domain 2 and 3 also but not domain 4 and 5.

            get the point?
            youd need to code something for that, in fact theres a prg that does that I googled it long ago

            cause any normal htpasswd login wont work like that

            lemme c if i can find it

            ICQ 16 91 547 - SKYPE dutchteencash
            bob AT dutchteencash DOT com
            ... did you see our newest Sweet Natural Girl Priscilla (18)?

            Comment

            • DutchTeenCash
              I like Dutch Girls
              • Feb 2003
              • 21684

              #7
              hmm that wasnt different domains - wonder if thats possible without getting the login popup, even with synchronizing the servers

              ICQ 16 91 547 - SKYPE dutchteencash
              bob AT dutchteencash DOT com
              ... did you see our newest Sweet Natural Girl Priscilla (18)?

              Comment

              • psili
                Confirmed User
                • Apr 2003
                • 5526

                #8
                Didn't realize apache thought password files were for different domains... Apologies. I checked a couple of htpasswd files and it looks like it's only username:password and the password file location is defined in the virtual host. Thought all that would take is a central password file pointed to by the virtual hosts.

                Guess I should try shit before I post about it. Again, here's a bump and good luck.
                Your post count means nothing.

                Comment

                • natkejs
                  Confirmed User
                  • Jan 2003
                  • 1640

                  #9
                  well I'll keep searching, thanks for all the suggestions guys and I'll post again if I find a solution. but I suspect I'd have to write a custom apache module or something for it.

                  Comment

                  Working...