allowing only certain sites to link my page using .htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fucksakes
    Shit... Fuck! What the Hell?
    • Dec 2003
    • 7567

    #1

    allowing only certain sites to link my page using .htaccess

    can anyone please help me out with this. google was no help this time.
  • jonpotz
    Confirmed User
    • Aug 2004
    • 960

    #2
    Originally posted by Fucksakes
    can anyone please help me out with this. google was no help this time.
    http://www.freewebmasterhelp.com/tutorials/htaccess/2

    http://www.meteorsurf.com/cgi-bin/sm...words=htaccess

    Comment

    • Fucksakes
      Shit... Fuck! What the Hell?
      • Dec 2003
      • 7567

      #3
      thank you

      Comment

      • Fucksakes
        Shit... Fuck! What the Hell?
        • Dec 2003
        • 7567

        #4
        still confused

        i just make a .htaccess file with the following

        allow http://www.thehun.com
        allow http://www.gofuckyourself.com

        etc?

        Comment

        • Fucksakes
          Shit... Fuck! What the Hell?
          • Dec 2003
          • 7567

          #5
          bump 8

          Comment

          • khs
            Confirmed User
            • Feb 2005
            • 1730

            #6
            images or what?
            Last edited by khs; 04-21-2005, 07:43 PM.
            Make MORE $$$ now! PussyCash

            Comment

            • directfiesta
              Too lazy to set a custom title
              • Oct 2002
              • 30151

              #7
              <limit GET>
              order deny,allow
              deny from all
              allow from 216.67.229.4
              </limit>
              Better to use the IP.

              Get the IP doind a ping in a DOS window.
              I know that Asspimple is stoopid ... As he says, it is a FACT !

              But I can't figure out how he can breathe or type , at the same time ....

              Comment

              • Fucksakes
                Shit... Fuck! What the Hell?
                • Dec 2003
                • 7567

                #8
                a whole site.. want to know exactly....

                I don't want them fucking leeching sites to grab my galleries from other sites, I want to make a .htaccess file and only allow the sites that I submit to to be able to list them, anyone else to be redirected to sleezydream.com.. jk

                Comment

                • directfiesta
                  Too lazy to set a custom title
                  • Oct 2002
                  • 30151

                  #9
                  Originally posted by Fucksakes
                  a whole site.. want to know exactly....

                  I don't want them fucking leeching sites to grab my galleries from other sites, I want to make a .htaccess file and only allow the sites that I submit to to be able to list them, anyone else to be redirected to sleezydream.com.. jk

                  So you need anti-leaching, not the deny ...

                  You have Cpanel on your server?
                  I know that Asspimple is stoopid ... As he says, it is a FACT !

                  But I can't figure out how he can breathe or type , at the same time ....

                  Comment

                  • Fucksakes
                    Shit... Fuck! What the Hell?
                    • Dec 2003
                    • 7567

                    #10
                    not sure.. I am sure I can get anything I need done thou.. I hope

                    Comment

                    • directfiesta
                      Too lazy to set a custom title
                      • Oct 2002
                      • 30151

                      #11

                      Options +FollowSymlinks
                      RewriteEngine On
                      RewriteCond %{HTTP_REFERER} .
                      RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain\.com [NC]
                      RewriteCond %{HTTP_REFERER} !^http://(www\.)?myfriends\.org [NC]
                      RewriteCond %{HTTP_REFERER} !^http://(www\.)?mywork\.com [NC]
                      RewriteRule \.(gif¦jpg¦jpeg¦png¦swf)$ /img/antileech.gif [NC]

                      Anti-leech using htaccess
                      I know that Asspimple is stoopid ... As he says, it is a FACT !

                      But I can't figure out how he can breathe or type , at the same time ....

                      Comment

                      • Fucksakes
                        Shit... Fuck! What the Hell?
                        • Dec 2003
                        • 7567

                        #12
                        Originally posted by directfiesta
                        Anti-leech using htaccess
                        isnt that for ppl stealing images and such from me.. I mean like I submit a gallery http://www.xxxxxxxx.com/gallery1.html and I submit this gallery to only 30 sites, but it ends up on 200 other shitty thumb sites that don't make me sales but cost me bandwidth. I want to redirect all them sites listing my galleries that I don't want them listing me.

                        Comment

                        • directfiesta
                          Too lazy to set a custom title
                          • Oct 2002
                          • 30151

                          #13
                          Originally posted by Fucksakes
                          isnt that for ppl stealing images and such from me.. I mean like I submit a gallery http://www.xxxxxxxx.com/gallery1.html and I submit this gallery to only 30 sites, but it ends up on 200 other shitty thumb sites that don't make me sales but cost me bandwidth. I want to redirect all them sites listing my galleries that I don't want them listing me.

                          OK... Now it makes sense.

                          So use the first one modified:


                          <limit GET>
                          order deny,allow
                          allow from all
                          deny from 216.67.229.4
                          deny from 258.548.58
                          </limit>
                          Notice that it allows from ALL, then denies the one you don't want. You can put the domain if you prefer.
                          This doesn't redirect the denied to anywhere tough...
                          I know that Asspimple is stoopid ... As he says, it is a FACT !

                          But I can't figure out how he can breathe or type , at the same time ....

                          Comment

                          • Fucksakes
                            Shit... Fuck! What the Hell?
                            • Dec 2003
                            • 7567

                            #14
                            I prefer to use the allow ip one cause there are alot more site to not allow.

                            there is no way to redirect them all.. what exactly happens than?

                            Comment

                            • J B
                              Confirmed User
                              • May 2002
                              • 1804

                              #15
                              Originally posted by Fucksakes
                              isnt that for ppl stealing images and such from me.. I mean like I submit a gallery http://www.xxxxxxxx.com/gallery1.html and I submit this gallery to only 30 sites, but it ends up on 200 other shitty thumb sites that don't make me sales but cost me bandwidth. I want to redirect all them sites listing my galleries that I don't want them listing me.
                              You don't like SE traffic? If you only allow referring URL's from the sites you submit your galleries to all SE traffic would be redirected as well.


                              A HUGE TIME SAVER FOR LESS THAN $1 PER DAY!



                              Contact: support A|T statsremote D|O|T com

                              Comment

                              • directfiesta
                                Too lazy to set a custom title
                                • Oct 2002
                                • 30151

                                #16
                                Originally posted by Fucksakes
                                I prefer to use the allow ip one cause there are alot more site to not allow.

                                there is no way to redirect them all.. what exactly happens than?
                                If you do that, a surfer will not be able to view your galleries UNLESS he comes from the allowed sites ....

                                You could add a redirection to a page or another site. I don't have the code handy ... sorry.
                                I know that Asspimple is stoopid ... As he says, it is a FACT !

                                But I can't figure out how he can breathe or type , at the same time ....

                                Comment

                                • Fucksakes
                                  Shit... Fuck! What the Hell?
                                  • Dec 2003
                                  • 7567

                                  #17
                                  Originally posted by J B
                                  You don't like SE traffic? If you only allow referring URL's from the sites you submit your galleries to all SE traffic would be redirected as well.
                                  good point, I'm not thinking.

                                  Comment

                                  • Fucksakes
                                    Shit... Fuck! What the Hell?
                                    • Dec 2003
                                    • 7567

                                    #18
                                    thanks directfiesta for your help, very much appreciated.

                                    Comment

                                    Working...