htaccess help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EpcCsh_PD
    So Fucking Banned
    • Jan 2003
    • 186

    #1

    htaccess help

    I need the code to do this:

    block all ouside requests from other servers.

    I ONLY want requests from MY server to allow access to a certain directory for example

    http://pimpdogrocks.com/pimp_3/ is to only be access by requests from my server and sites that are on the same server.. all other requests are to be denied or blocked or redirected..

    I cant seem to find the correct code. I have lokked at apache.org and searched for mod_rewrite but im dumb and cant figure it out..

    any help?
  • Spunky
    I need a beer
    • Jun 2002
    • 133987

    #2
    Format c:\ immediatley

    Comment

    • Amputate Your Head
      There can be only one
      • Aug 2001
      • 39075

      #3
      SIG TOO BIG

      Comment

      • EpcCsh_PD
        So Fucking Banned
        • Jan 2003
        • 186

        #4
        Originally posted by Amputate Your Head
        unban pimpdog!!

        Comment

        • Amputate Your Head
          There can be only one
          • Aug 2001
          • 39075

          #5
          Originally posted by EpcCsh_PD


          unban pimpdog!!
          what for? You keep coming back anyway, so why would you need an unbanning? You're invincible, remember?
          SIG TOO BIG

          Comment

          • EpcCsh_PD
            So Fucking Banned
            • Jan 2003
            • 186

            #6
            Originally posted by Amputate Your Head


            what for? You keep coming back anyway, so why would you need an unbanning? You're invincible, remember?
            tru dat.. but i like pimpdog better than this lame nick.. good enough answer Mr.Amp sir?

            Comment

            • Spunky
              I need a beer
              • Jun 2002
              • 133987

              #7
              Originally posted by EpcCsh_PD


              tru dat.. but i like pimpdog better than this lame nick.. good enough answer Mr.Amp sir?
              So Pimplebutt is out of the question then?

              Comment

              • EpcCsh_PD
                So Fucking Banned
                • Jan 2003
                • 186

                #8
                Originally posted by spunky1

                So Pimplebutt is out of the question then?
                the year is still young

                Comment

                • Amputate Your Head
                  There can be only one
                  • Aug 2001
                  • 39075

                  #9
                  hmmm.... well, you could keep the 'impdog' part of it and start using variations built on that.... like,

                  blimpdog
                  chimpdog
                  frimpdog
                  gimpdog
                  himpdog
                  limpdog
                  mobanabanafofana_impdog
                  quimpdog
                  simpdog
                  wimpdog
                  yohimbiimpdog



                  you get the idea..... that should keep you supplied in nicks for a few more months.
                  SIG TOO BIG

                  Comment

                  • EpcCsh_PD
                    So Fucking Banned
                    • Jan 2003
                    • 186

                    #10
                    Originally posted by Amputate Your Head
                    hmmm.... well, you could keep the 'impdog' part of it and start using variations built on that.... like,

                    blimpdog
                    chimpdog
                    frimpdog
                    gimpdog
                    himpdog
                    limpdog
                    mobanabanafofana_impdog
                    quimpdog
                    simpdog
                    wimpdog
                    yohimbiimpdog



                    you get the idea..... that should keep you supplied in nicks for a few more months.
                    thanks for taking your 'valuable' time and considering my feelings.. but ill keep up the campaign for pimpdog

                    Comment

                    • juicylinks
                      So Fucking Banned
                      • Apr 2001
                      • 122992

                      #11
                      deny from pimpdog is a bukkake addict
                      allow from pimpdog is a tranny
                      deny from pimpdog got my sister pregnant
                      deny from pimpdog is a bukkake addict

                      Add this to your htaccess

                      Comment

                      • EpcCsh_PD
                        So Fucking Banned
                        • Jan 2003
                        • 186

                        #12
                        Originally posted by juicylinks
                        <deny from pimpdog is a bukkake addict>
                        allow from pimpdog is a tranny
                        deny from pimpdog got my sister pregnant>
                        <deny from pimpdog is a bukkake addict>


                        Add this to your htaccess
                        that is very close to what i need.. but i need the exact full code and I can fill in the blanks for the ip's or urls

                        paypal 20$ if it works.

                        Comment

                        • UncleJimmy
                          Confirmed User
                          • Sep 2002
                          • 855

                          #13
                          you ever find the answer to that question p1mpdog?
                          <a href="http://www.redpartners.com/?r=100278"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="http://britney-spears.blewme.com/wm.gif" width="120" height="60" border="0"></font></a><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Promote the web's hottest adult personals website, <a href="http://www.redpartners.com/?r=100278" target="_blank">Red Personals</a>.</font>

                          Comment

                          • Voodoo
                            ♥ ♦ ♣ ♠
                            • Sep 2002
                            • 10600

                            #14
                            AuthUserFile /dev/null
                            AuthGroupFile /dev/null

                            RewriteEngine on
                            RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*pimpdogrocks.com/pimp_3/ [NC]
                            RewriteRule /* http://url-to-send-them-to.com/whatever.html [R,L]

                            "I'm selflessly supporting the common good, but only coincidentally looking out for No.1."

                            Comment

                            • PeekHoles
                              Registered User
                              • Jan 2002
                              • 1151

                              #15
                              Try this I know this will only allow the sites you want to access it. I know it will be able to let you view pics but I cant figure out why it wont allow mpegs to download. But this code should work for just letting certain sites in and getting pics. Maybe someone can modify the code to all asf and mpegs to be downlaoded also.

                              AuthUserFile /dev/null
                              AuthGroupFile /dev/null

                              RewriteEngine On
                              RewriteCond %{HTTP_REFERER} !^http://www.site-a.com [NC]
                              RewriteCond %{HTTP_REFERER} !^http://site-a.com.com [NC]
                              RewriteCond %{HTTP_REFERER} !^http://www.site-b.com [NC]
                              RewriteCond %{HTTP_REFERER} !^http://site-b.com [NC]
                              RewriteRule /* http://redirect-them-somewhere.com [R,L]

                              Hope that helps

                              Comment

                              • X37375787

                                #16
                                http://www.webpimps.com/scripts/htaccess

                                Comment

                                • PeekHoles
                                  Registered User
                                  • Jan 2002
                                  • 1151

                                  #17
                                  Originally posted by Equinox
                                  http://www.webpimps.com/scripts/htaccess

                                  Good link

                                  Comment

                                  • fnet
                                    Confirmed User
                                    • Jul 2002
                                    • 1721

                                    #18
                                    Googlism for: epic cash

                                    epic cash is currently sending payments via paypal
                                    epic cash is unique to other programs out there for one simple reason

                                    Googlism for: pimpdog

                                    Sorry, Google doesn't know enough about pimpdog yet.

                                    Googlism for: pimp dog

                                    pimp dog is the life of most parties around here
                                    the sound of one hand googlewhacking

                                    Comment

                                    • EpcCsh_PD
                                      So Fucking Banned
                                      • Jan 2003
                                      • 186

                                      #19
                                      Originally posted by fnet
                                      Googlism for: epic cash

                                      epic cash is currently sending payments via paypal
                                      epic cash is unique to other programs out there for one simple reason

                                      Googlism for: pimpdog

                                      Sorry, Google doesn't know enough about pimpdog yet.

                                      Googlism for: pimp dog

                                      pimp dog is the life of most parties around here
                                      nice

                                      Comment

                                      Working...