htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fabien
    Confirmed User
    • Jul 2003
    • 4789

    #1

    htaccess

    Hey all you server "wizards"

    The guy that takes care of all this crap for me is not in today (lol...)
    And i think that the last time i did this was in 96 (no shit hehehehe)


    What do i need to write in my .htacess to let in certain IP's and certain domains in a protected directory

    Thanks

    (i know........i know.....)
  • com
    Confirmed User
    • Aug 2003
    • 4541

    #2
    go to google and lookup basic .htacess generator

    Real. Professional. Hosting.
    .:Expect Nothing Less:.
    320-078-843 :: www.realprohosting.com :: [email protected]

    Comment

    • Fabien
      Confirmed User
      • Jul 2003
      • 4789

      #3
      http://www.htmlbasix.com/

      Comment

      • Fabien
        Confirmed User
        • Jul 2003
        • 4789

        #4
        Shit it's not showing the codes for IPs' and Domains

        Comment

        • Burtman
          Registered User
          • Feb 2001
          • 484

          #5
          Not sure if this helps but its still a good bookmark:
          http://wsabstract.com/howto/htaccess.shtml


          Burtman

          Comment

          • Fabien
            Confirmed User
            • Jul 2003
            • 4789

            #6
            <Limit GET>
            order deny,allow
            deny from all
            require user bob
            allow from .anydomain.com
            allow from .anydomain.com
            allow from .123.123.123.123
            allow from .123.123.123.123
            satisfy any
            </Limit>

            Will this work ??
            By the way, do i need the dot at the begining of the IPs'/domains ?

            Comment

            • juicylinks
              So Fucking Banned
              • Apr 2001
              • 122992

              #7
              <Directory /docroot>
              order deny,allow
              deny from all
              allow from bla bla
              </Directory>

              Comment

              • Fabien
                Confirmed User
                • Jul 2003
                • 4789

                #8
                Ok just to make sure i got it

                order deny,allow
                deny from all
                allow from 123.123.123.123
                allow from anydomain.com
                allow from bla bla
                allow from bla bla
                allow from bla bla
                allow from bla bla
                etc..........

                Ijust put this code in th .htacess and VOILA ???

                Comment

                • Fabien
                  Confirmed User
                  • Jul 2003
                  • 4789

                  #9
                  Ha i think it's coming back in my mind......

                  Limit GET
                  order deny,allow
                  deny from all
                  allow from anydomain.com
                  allow from 123.123.123.123
                  allow from 123.123.123.123
                  allow from 123.123.123.123
                  allow from etc........
                  satisfy any
                  Limit

                  (some codes missing as the board will not amke them appear, like slashes etc...)

                  Ok n'uf for the newbie , my head is too hot

                  Comment

                  • juicylinks
                    So Fucking Banned
                    • Apr 2001
                    • 122992

                    #10
                    Originally posted by Fabien
                    Ok just to make sure i got it

                    order deny,allow
                    deny from all
                    allow from 123.123.123.123
                    allow from anydomain.com
                    allow from bla bla
                    allow from bla bla
                    allow from bla bla
                    allow from bla bla
                    etc..........

                    Ijust put this code in th .htacess and VOILA ???
                    make a.htaccess file for the directory you want to protect and put it in

                    Any more questions and i will have to unleash d1.jpg.d2.jpg and d3.jpg

                    Comment

                    Working...