Testing htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tranza
    ICQ: 197-556-237
    • Jun 2003
    • 57559

    #1

    Testing htaccess

    Can you see this pic?

    I'm just a newbie.
  • u-Bob
    there's no $$$ in porn
    • Jul 2005
    • 33063

    #2
    nice tits.

    Comment

    • Lycanthrope
      Confirmed User
      • Jan 2004
      • 4517

      #3
      Nicole Sheridan without makeup?

      Comment

      • tranza
        ICQ: 197-556-237
        • Jun 2003
        • 57559

        #4
        Originally posted by u-Bob
        nice tits.
        So you can see it?
        I'm just a newbie.

        Comment

        • Marcus Aurelius
          No Refunds Issued.
          • Apr 2003
          • 14809

          #5
          I see it just fine.

          Comment

          • tranza
            ICQ: 197-556-237
            • Jun 2003
            • 57559

            #6
            Fuck! I moved servers and I lost my htaccess files (well, the originals are in Brazil).

            Can you guys help me out by pointing out what I have done wrong here?

            Options All -Indexes

            order allow,deny
            allow from all

            Options +FollowSymLinks
            RewriteEngine on
            RewriteCond %{HTTP_HOST} !^www\.marypussy\.com
            RewriteRule (.*) http://www.marypussy.com/$1 [R=permanent,L]

            RewriteEngine on
            RewriteCond %{HTTP_REFERER} .*fusker*.*$ [NC]
            RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ - [F,NC]


            ErrorDocument 400 http://www.marypussy.com/
            ErrorDocument 403 http://www.marypussy.com/
            ErrorDocument 404 http://www.marypussy.com/
            ErrorDocument 500 http://www.marypussy.com/
            ErrorDocument 501 http://www.marypussy.com/
            ErrorDocument 503 http://www.marypussy.com/
            I'm just a newbie.

            Comment

            • abz
              Senior Member
              • Apr 2001
              • 4498

              #7
              RewriteEngine on
              RewriteCond %{HTTP_REFERER} !^$
              RewriteCond %{HTTP_REFERER} !^http://(www\.)?marypussy.com(/)?.*$ [NC]
              RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://marypussy.com [R,NC]
              ErrorDocument 400 http://www.marypussy.com/
              ErrorDocument 403 http://www.marypussy.com/
              ErrorDocument 404 http://www.marypussy.com/
              ErrorDocument 500 http://www.marypussy.com/
              ErrorDocument 501 http://www.marypussy.com/
              ErrorDocument 503 http://www.marypussy.com/

              Got mainstream or adult blogs?
              Create an adsense empire with the click of a button


              Need Banners Galleries Logos? Reliable Designer -- ICQ -- 109-825-688

              Comment

              • Lycanthrope
                Confirmed User
                • Jan 2004
                • 4517

                #8
                this assumes null referrers and domain.com and anotherdomain.com are domains that you WANT to be able to hotlink from. If you want to block null referrers just remove the top line.

                RewriteCond %{HTTP_REFERER} !^$
                RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com.*$ [NC]
                RewriteCond %{HTTP_REFERER} !^http://(www\.)?anotherdomain.com.*$ [NC]
                RewriteRule \.(jpe?g|gif|bmp|png)$ - [F,NC,L]

                Any request for an image from anywhere else will be given a 403 response

                Comment

                • tranza
                  ICQ: 197-556-237
                  • Jun 2003
                  • 57559

                  #9
                  So a htaccess like this one would be fine? (see below)

                  order allow,deny
                  allow from all

                  Options +FollowSymLinks
                  RewriteEngine on
                  RewriteCond %{HTTP_REFERER} !^$
                  RewriteCond %{HTTP_REFERER} !^http://(www\.)?marypussy.com.*$ [NC]
                  RewriteRule \.(jpe?g|gif|bmp|png)$ - [F,NC,L]

                  RewriteEngine on
                  RewriteCond %{HTTP_REFERER} .*fusker*.*$ [NC]
                  RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ - [F,NC]


                  ErrorDocument 400 http://www.marypussy.com/
                  ErrorDocument 403 http://www.marypussy.com/
                  ErrorDocument 404 http://www.marypussy.com/
                  ErrorDocument 500 http://www.marypussy.com/
                  ErrorDocument 501 http://www.marypussy.com/
                  ErrorDocument 503 http://www.marypussy.com/
                  I'm just a newbie.

                  Comment

                  • Tom_PM
                    Porn Meister
                    • Feb 2005
                    • 16443

                    #10
                    If you block the null referrer though, alot of firewalls like nortons will block the images too. Pain in the ass.
                    43-922-863 Shut up and play your guitar.

                    Comment

                    • tranza
                      ICQ: 197-556-237
                      • Jun 2003
                      • 57559

                      #11
                      Originally posted by PR_Tom
                      If you block the null referrer though, alot of firewalls like nortons will block the images too. Pain in the ass.
                      Damn! Really?

                      So what should my .htaccess should look like?

                      BTW: I don't remember all this stuff from the first time I dealt with my htaccess, it seemed easier.
                      I'm just a newbie.

                      Comment

                      • abz
                        Senior Member
                        • Apr 2001
                        • 4498

                        #12
                        just use this http://www.htmlbasix.com/disablehotlinking.shtml

                        Got mainstream or adult blogs?
                        Create an adsense empire with the click of a button


                        Need Banners Galleries Logos? Reliable Designer -- ICQ -- 109-825-688

                        Comment

                        • Tom_PM
                          Porn Meister
                          • Feb 2005
                          • 16443

                          #13
                          Well, assuming the rest of your code is how it needs to be, then make it like this:

                          order allow,deny
                          allow from all

                          Options +FollowSymLinks
                          RewriteEngine on
                          RewriteCond %{HTTP_REFERER} !^http://(www\.)?marypussy.com.*$ [NC]
                          RewriteRule \.(jpe?g|gif|bmp|png)$ - [F,NC,L]

                          RewriteEngine on
                          RewriteCond %{HTTP_REFERER} .*fusker*.*$ [NC]
                          RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ - [F,NC]


                          ErrorDocument 400 http://www.marypussy.com/
                          ErrorDocument 403 http://www.marypussy.com/
                          ErrorDocument 404 http://www.marypussy.com/
                          ErrorDocument 500 http://www.marypussy.com/
                          ErrorDocument 501 http://www.marypussy.com/
                          ErrorDocument 503 http://www.marypussy.com/


                          The null referrer might be ok to block, but if you submit to places who use firewalls, and get rejected because of "broken images", thats likely why.
                          I also dont know why you'd need your

                          order allow,deny
                          allow from all

                          Since you are not denying from anything. But I'm no expert either.
                          43-922-863 Shut up and play your guitar.

                          Comment

                          • tranza
                            ICQ: 197-556-237
                            • Jun 2003
                            • 57559

                            #14
                            Originally posted by abz
                            That's how you got that code you showed me, huh??

                            ;)

                            Will this affect what PR_Tom just told me?
                            I'm just a newbie.

                            Comment

                            • Tom_PM
                              Porn Meister
                              • Feb 2005
                              • 16443

                              #15
                              RewriteCond %{HTTP_REFERER} !^$

                              Thats the line that says "If the referrer is NOT Null"

                              Add it for more protection, but if a reviewer tells you broken images, he/she may have a null referrer due to nortons.
                              43-922-863 Shut up and play your guitar.

                              Comment

                              • tranza
                                ICQ: 197-556-237
                                • Jun 2003
                                • 57559

                                #16
                                Originally posted by PR_Tom
                                RewriteCond %{HTTP_REFERER} !^$

                                Thats the line that says "If the referrer is NOT Null"

                                Add it for more protection, but if a reviewer tells you broken images, he/she may have a null referrer due to nortons.
                                I just took that down. htacess should be working now...

                                I'm just a newbie.

                                Comment

                                • abz
                                  Senior Member
                                  • Apr 2001
                                  • 4498

                                  #17
                                  shit I cant see them tits now

                                  Got mainstream or adult blogs?
                                  Create an adsense empire with the click of a button


                                  Need Banners Galleries Logos? Reliable Designer -- ICQ -- 109-825-688

                                  Comment

                                  • tranza
                                    ICQ: 197-556-237
                                    • Jun 2003
                                    • 57559

                                    #18
                                    Originally posted by abz
                                    shit I cant see them tits now
                                    That's the point of htacess...

                                    I'm just a newbie.

                                    Comment

                                    • OG LennyT
                                      Wall Street Pimp
                                      • Jun 2003
                                      • 14345

                                      #19
                                      I allowed GFY on my .htaccess, along with Google.. I'm nutty that way
                                      Tradeking - my online broker | 4.95 a trade | make real $$

                                      Comment

                                      • abz
                                        Senior Member
                                        • Apr 2001
                                        • 4498

                                        #20
                                        Originally posted by dvd316
                                        I allowed GFY on my .htaccess, along with Google.. I'm nutty that way

                                        Got mainstream or adult blogs?
                                        Create an adsense empire with the click of a button


                                        Need Banners Galleries Logos? Reliable Designer -- ICQ -- 109-825-688

                                        Comment

                                        • tranza
                                          ICQ: 197-556-237
                                          • Jun 2003
                                          • 57559

                                          #21
                                          Originally posted by dvd316
                                          I allowed GFY on my .htaccess, along with Google.. I'm nutty that way
                                          Google doesn't hotlink.

                                          I'm just a newbie.

                                          Comment

                                          Working...