help quick. Not home and need htaccess script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yys
    Confirmed User
    • Aug 2001
    • 1922

    #1

    help quick. Not home and need htaccess script

    Can someone put the htaccess script on here for me. I am not at home(out of town) and it looks like my htaccess is screwed up. I can link directly to my pics from hotlinking.com. Before you say search I have but I haven't found the code i'm looking for. I have too many referers to use the allow/deny method. Here is what I received when I downloaded my htaccess so it will probably be screwed up but these files were working and now there not and I'm getting killed. Did I get hacked?
    AuthUserFile /dev/null
    AuthGroupFile /dev/null
    RewriteEngine on
    RewriteOptions inherit
    RewriteCond %{HTTP_REFERER} !^http://www.mydomin.com/
    RewriteCond %{HTTP_REFERER} !^http://mydomain.com/
    RewriteCond %{HTTP_REFERER} !^http://my-ip/
    RewriteRule /* where-I want-them-to-go

    Someone please post the script here.


  • wiZd0m
    Confirmed User
    • Feb 2001
    • 1526

    #2
    whats your domainname ?

    ------------------
    wiZd0m

    Thunder Free Adult Hosting - Fastest servers in the industry

    Fortune Pussy Adult Links - The best in adult links
    ----------
    wiZd0m

    Comment

    • yys
      Confirmed User
      • Aug 2001
      • 1922

      #3
      I left my domain out because I don't want to get hit harder. where I put my-domain is where my domain usually is. The code looks right to me but like I said I'm outta town and don't have the copy thats on my computer and it's not protecting me anymore so something is wrong with it. This script is in the image directories but I can still link to the pics.

      Comment

      • wiZd0m
        Confirmed User
        • Feb 2001
        • 1526

        #4
        I was going to give you the exact code with your domain in, and by pinging your domains, i would have added the ip in too.

        ------------------
        wiZd0m

        Thunder Free Adult Hosting - Fastest servers in the industry

        Fortune Pussy Adult Links - The best in adult links
        ----------
        wiZd0m

        Comment

        • wiZd0m
          Confirmed User
          • Feb 2001
          • 1526

          #5
          here, fill in the blanks

          RewriteEngine on
          RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC]
          RewriteCond %{HTTP_REFERER} !^http://yourdomain.com.com/.*$ [NC]
          RewriteCond %{HTTP_REFERER} !^http://123.123.123.123/.*$ [NC]
          RewriteRule .*([jJ][pP][eE][gG]|[jJ][pP][gG]|[gG][iI][fF])$ [F]

          ErrorDocument 302 http://yourdomain/404.html
          ErrorDocument 400 http://yourdomain/404.html
          ErrorDocument 401 http://yourdomain/404.html
          ErrorDocument 403 http://yourdomain/404.html
          ErrorDocument 404 http://yourdomain/404.html
          ErrorDocument 408 http://yourdomain/404.html
          ErrorDocument 500 http://yourdomain/404.html

          ------------------
          wiZd0m

          Thunder Free Adult Hosting - Fastest servers in the industry

          Fortune Pussy Adult Links - The best in adult links
          ----------
          wiZd0m

          Comment

          • yys
            Confirmed User
            • Aug 2001
            • 1922

            #6
            Can you give me the code, please. I can't see whats been changed in mine. I know the ip of my server, just need the proper code.

            Comment

            • yys
              Confirmed User
              • Aug 2001
              • 1922

              #7
              Thanks wiZd0m, your a life saver and hopefully I can repay the favor sometime.

              Comment

              • wiZd0m
                Confirmed User
                • Feb 2001
                • 1526

                #8
                Don't worry about it, if I keep adding karma points like that, i won't come back as a turd.

                ------------------
                wiZd0m

                Thunder Free Adult Hosting - Fastest servers in the industry

                Fortune Pussy Adult Links - The best in adult links
                ----------
                wiZd0m

                Comment

                • FADE19
                  Snow's Parole Officer
                  • Sep 2001
                  • 1161

                  #9
                  "Don't worry about it, if I keep adding karma points like that, i won't come back as a turd."

                  To late...

                  Comment

                  • wiZd0m
                    Confirmed User
                    • Feb 2001
                    • 1526

                    #10
                    FADE19 came back as an Afgan

                    ------------------
                    wiZd0m

                    Thunder Free Adult Hosting - Fastest servers in the industry

                    Fortune Pussy Adult Links - The best in adult links

                    [This message has been edited by wiZd0m (edited 10-17-2001).]
                    ----------
                    wiZd0m

                    Comment

                    • FADE19
                      Snow's Parole Officer
                      • Sep 2001
                      • 1161

                      #11
                      DOH!

                      Comment

                      • yys
                        Confirmed User
                        • Aug 2001
                        • 1922

                        #12
                        Thanks again, that puppies working. Send your address my way and if I get a signup off the redirect it's yours!

                        Comment

                        Working...