help with .htaccess please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Easton
    Too lazy to set a custom title
    • Sep 2002
    • 9825

    #1

    help with .htaccess please

    yes i know there are probably 812 threads about this on GFy already but with no search feature what good is it?

    so can someone plese help me with this?

    here is what i have so far:
    -------------------------------------------------------------------------------
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^http://slinkylinks.com
    RewriteCond %{HTTP_REFERER} !^http://www.slinkylinks.com
    RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.slinkylinks.com/free.htm [L]

    ErrorDocument 404 http://www.slinkylinks.com/free.htm
    DirectoryIndex index1.htm
    ExpiresActive on
    ExpiresDefault A31536000
    -------------------------------------------------------------------------------

    i used this to help me http://developers.evrsoft.com/tools-...enerator.shtml then i uploaded to my main directory in ASCII mode and it doesn't work... what did i fuck up?


    New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
    Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.
  • JohnnyUtah
    Confirmed User
    • Oct 2002
    • 826

    #2
    Easton, depending on the server...htaccess files can do strange shit...

    Try this one:

    -----------------------------------------------------------------

    AuthGroupFile /dev/null

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

    ErrorDocument 302 http://www.console-hell.com
    ErrorDocument 400 http://www.console-hell.com
    ErrorDocument 401 http://www.console-hell.com
    ErrorDocument 403 http://www.console-hell.com
    ErrorDocument 404 http://www.console-hell.com
    ErrorDocument 408 http://www.console-hell.com
    ErrorDocument 500 http://www.console-hell.com

    Comment

    • Easton
      Too lazy to set a custom title
      • Sep 2002
      • 9825

      #3
      thanks dude... i actually think i got it on my own...

      i fucked with it a bit and it seems to be working now

      let me test:

      New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
      Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.

      Comment

      • JohnnyUtah
        Confirmed User
        • Oct 2002
        • 826

        #4
        Seems to work here

        Comment

        • Easton
          Too lazy to set a custom title
          • Sep 2002
          • 9825

          #5
          dammit, not any more!!!

          i get errors when accessing my TGP now!!! LOL

          i need help!!!
          New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
          Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.

          Comment

          • Easton
            Too lazy to set a custom title
            • Sep 2002
            • 9825

            #6
            ok i tweaked the code to this:

            ---------------------------------------------------------------------------------
            RewriteEngine on
            RewriteCond %haha123;HTTP_REFERER} !^http://www.slinkylinks.com.*$ [NC]
            RewriteCond %haha123;HTTP_REFERER} !^http://slinkylinks.com.*$ [NC]
            RewriteCond %haha123;HTTP_REFERER} !^http://www.slinkylinks.com/.*$ [NC]
            RewriteCond %haha123;HTTP_REFERER} !^http://slinkylinks.com/.*$ [NC]
            RewriteCond %haha123;HTTP_REFERER} !^http://www.slinkylinks.com80/.*$ [NC]
            RewriteCond %haha123;HTTP_REFERER} !^http://slinkylinks.com:80/.*$ [NC]
            RewriteRule .*([jJ][pP][eE][gG]|[jJ][pP][gG]|[gG][iI][fF])$ [F]

            ErrorDocument 302 http://www.slinkylinks.com/free.htm
            ErrorDocument 400 http://www.slinkylinks.com/free.htm
            ErrorDocument 401 http://www.slinkylinks.com/free.htm
            ErrorDocument 403 http://www.slinkylinks.com/free.htm
            ErrorDocument 408 http://www.slinkylinks.com/free.htm
            ErrorDocument 500 http://www.slinkylinks.com/free.htm



            and i uploaded it to my main directory, so i assume it will gobern all folders that way... i don't see why this is so hard but it still doesn't work

            New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
            Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.

            Comment

            • JohnnyUtah
              Confirmed User
              • Oct 2002
              • 826

              #7
              Try this before your code

              Options SymlinksIfOwnerMatch
              Last edited by JohnnyUtah; 07-08-2004, 07:55 PM.

              Comment

              • Easton
                Too lazy to set a custom title
                • Sep 2002
                • 9825

                #8
                great now my TGP and galleries are all down...

                is there a way i can undo the .htaccess on the server?
                New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
                Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.

                Comment

                • JohnnyUtah
                  Confirmed User
                  • Oct 2002
                  • 826

                  #9
                  Yes, if you dont have root access on your box...
                  Just upload a blank htaccess file.
                  That will clear up anything.

                  Comment

                  • JohnnyUtah
                    Confirmed User
                    • Oct 2002
                    • 826

                    #10
                    If you have root access
                    type ls -ax

                    And you'll see your file there...
                    Then just remove it

                    Comment

                    • Easton
                      Too lazy to set a custom title
                      • Sep 2002
                      • 9825

                      #11
                      ok thanks, i've reset it to the way it was before i fucked with it

                      that still leaves me with the AHL problem tho... why is this so hard? LOL
                      New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
                      Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.

                      Comment

                      • Vox
                        Confirmed User
                        • Mar 2002
                        • 2710

                        #12
                        Here's mine, maybe it will help

                        RewriteEngine on
                        RewriteCond %{HTTP_REFERER} !^$
                        RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$ [NC]
                        RewriteRule .*\.(GIF|gif|jpg|jpeg|bmp|mpg|wmv)$ http://www.domain.com/ [R,NC,L]
                        IndexIgnore *
                        RewriteEngine On
                        RewriteCond %{HTTP_USER_AGENT} ^.*BackWeb.*$ [OR]
                        RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro.* [OR]
                        RewriteCond %{HTTP_USER_AGENT} ^DISCo\Pump.* [OR]
                        RewriteRule /* http://www.sexsuche.tv/exitcon/get_l...&WMEC=5&nid=42 [L,R]

                        AddType application/x-httpd-php .html
                        AddType application/x-httpd-php .htm

                        ErrorDocument 400 http://www.domain.com/index.html
                        ErrorDocument 401 http://www.domain.com/index.html
                        ErrorDocument 403 http://www.domain.com/index.html
                        ErrorDocument 404 http://www.domain.com/index.html
                        ErrorDocument 500 http://www.domain.com/index.html
                        Social profile assassination for hire

                        Comment

                        • Easton
                          Too lazy to set a custom title
                          • Sep 2002
                          • 9825

                          #13
                          thanks! but why does every single AHL code look so different? it all seems so complicated...

                          assuming i even get my htaccess code done right, exactly where should i park it? the main root directory? or only in folders that contain images, clips, etc?
                          New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
                          Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.

                          Comment

                          • venturi
                            Confirmed User
                            • Aug 2001
                            • 386

                            #14
                            Easton, hit me up on ICQ Friday (or tonight) - Sheri has my # and I'll work with you through this if you're still having probs.
                            I'm not a porn monger. I'm a porn ... STYLIST!
                            Buildit Cheap, build it Fast, Build it Right. - Pick Two.

                            Comment

                            • Easton
                              Too lazy to set a custom title
                              • Sep 2002
                              • 9825

                              #15
                              Originally posted by venturi
                              Easton, hit me up on ICQ Friday (or tonight) - Sheri has my # and I'll work with you through this if you're still having probs.
                              thanks very much bro, i may just do that!
                              New models booked and shot every week... MILFs, pornstars and teens. Girls for every niche and project.
                              Looking for high-quality affordable exclusive content? Check me out at Easton Content for all the details.

                              Comment

                              Working...