Need some quick htaccess help please.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Project-Shadow
    Confirmed User
    • Feb 2003
    • 7340

    #1

    Need some quick htaccess help please.

    I want to write a rule where anyone linking to my images will get http://www.hpics.com/images/HOTLINKER.gif displayed.

    I believe it will involve editing

    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    Cheers,
  • swedguy
    Confirmed User
    • Jan 2002
    • 7981

    #2
    This has only been asked 1000's of times before, and answered 1000's of times.

    Try the search feature.

    Comment

    • Project-Shadow
      Confirmed User
      • Feb 2003
      • 7340

      #3
      better make it 1001 then?

      Comment

      • nathan_f
        Confirmed User
        • Sep 2003
        • 3983

        #4
        RewriteEngine on
        RewriteCond %{HTTP_REFERER} !^$
        RewriteCond %{HTTP_REFERER} !^http://(www\.)?hpics.com/.*$ [NC]
        RewriteRule \.(gif|jpg)$ http://www.hpics.com/images/HOTLINKER.gif [R,L]

        Comment

        • TheViper
          Confirmed User
          • Mar 2003
          • 2560

          #5
          hey swedguy, all the guy does is ask for help, no need to fuck up this thread. If people don't want to do reply, they don't.

          Comment

          • swedguy
            Confirmed User
            • Jan 2002
            • 7981

            #6
            Originally posted by TheViper
            hey swedguy, all the guy does is ask for help, no need to fuck up this thread. If people don't want to do reply, they don't.
            Fuck it up?

            He needed quick help. Can it get much faster than searching for it?

            Comment

            • TheViper
              Confirmed User
              • Mar 2003
              • 2560

              #7
              maybe he's lazy swedguy

              Comment

              • swedguy
                Confirmed User
                • Jan 2002
                • 7981

                #8
                Originally posted by TheViper
                maybe he's lazy swedguy
                No shit

                Comment

                • Project-Shadow
                  Confirmed User
                  • Feb 2003
                  • 7340

                  #9
                  Thanks for your help.
                  And you are officially an assmonkey swed

                  Comment

                  Working...