need some help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Keev
    Confirmed User
    • May 2001
    • 5335

    #1

    need some help

    I need a htaccess file that only allows two domains access to a directory....

    I have played with a couple onesi have found and modified online but no luck if anyone has any spare time and can help me out it would be appreciated...


    Keev
    104463163
    ReliableServers.com - NO REF LINK!
  • salsbury
    Confirmed User
    • Feb 2002
    • 1070

    #2
    the easy way (ah poop: it filtered out the "tags")

    <limit get post>
    order deny, allow
    deny from all
    allow from .domain.com .domain2.com
    </limit>

    (note the preceeding period on each domain)

    if possible, it'd be more efficient to list the netblocks instead of domains, fwiw.
    Last edited by salsbury; 06-12-2002, 11:50 AM.

    Comment

    • Keev
      Confirmed User
      • May 2001
      • 5335

      #3
      uhhhh speak english
      ReliableServers.com - NO REF LINK!

      Comment

      • salsbury
        Confirmed User
        • Feb 2002
        • 1070

        #4
        hi, how are you? i pasted that .htaccess in order to provide you advice!

        (sorry, the limit "tags" didn't show up in the original incarnation of the post.)
        Last edited by salsbury; 06-12-2002, 11:51 AM.

        Comment

        • Keev
          Confirmed User
          • May 2001
          • 5335

          #5
          Didnt mean it in a negative way.... couldnt follow your explanation
          ReliableServers.com - NO REF LINK!

          Comment

          • a1ka1ine
            Confirmed User
            • Apr 2002
            • 3387

            #6
            Originally posted by Keev
            Didnt mean it in a negative way.... couldnt follow your explanation
            i was going to say.........

            the guy just solved your problem and your complaining! :-p

            Comment

            • salsbury
              Confirmed User
              • Feb 2002
              • 1070

              #7
              twas my bad. then the joke was distasteful. but i left it, 'cause i thought it was so damn funny. hoo doggy. anyways, good luck and all that.

              Comment

              • Keev
                Confirmed User
                • May 2001
                • 5335

                #8
                got it figured out thanks salsbury
                ReliableServers.com - NO REF LINK!

                Comment

                Working...