+ Reply to Thread
Results 1 to 4 of 4

Thread: Hotlink Protection

  1. #1
    javaguy78's Avatar
    javaguy78 is offline x10Hosting Member javaguy78 is an unknown quantity at this point
    Join Date
    Jun 2006
    Posts
    53

    Hotlink Protection

    I am running on the free server and I want to turn on hot link protection, but when I do and allow access for my domains:

    http://main.themaskedcrusader.com
    http://themaskedcrusader.com
    http://themaskedcrusader.exofire.net
    http://www.main.themaskedcrusader.com
    http://www.themaskedcrusader.com
    http://www.themaskedcrusader.exofire.net

    it still blocks images from showing up on my website, even though it is allowed. Can someone help me figure out why it isn't working?

  2. #2
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: Hotlink Protection

    can you post your .htaccess file?

  3. #3
    javaguy78's Avatar
    javaguy78 is offline x10Hosting Member javaguy78 is an unknown quantity at this point
    Join Date
    Jun 2006
    Posts
    53

    Re: Hotlink Protection

    This is my current .htaccess file.

    Code:
    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.themaskedcrusader.exofire.net
    AuthUserFile /home/cschalk/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/cschalk/public_html/_vti_pvt/service.grp

  4. #4
    javaguy78's Avatar
    javaguy78 is offline x10Hosting Member javaguy78 is an unknown quantity at this point
    Join Date
    Jun 2006
    Posts
    53

    Re: Hotlink Protection

    I removed my .htaccess file and removed my frontpage extensions.. then I added in my hotlink protection code and my site redirect, and now I am seeing it work properly in IE, but Firefox isn't seeing that my site is allowed to see the images.
    Edit:
    Here is my current htaccess file:
    Code:
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^http://main.themaskedcrusader.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://main.themaskedcrusader.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://themaskedcrusader.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://themaskedcrusader.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://themaskedcrusader.exofire.net/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://themaskedcrusader.exofire.net$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.main.themaskedcrusader.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.main.themaskedcrusader.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.themaskedcrusader.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.themaskedcrusader.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.themaskedcrusader.exofire.net/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.themaskedcrusader.exofire.net$      [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.themaskedcrusader.com/images/hotlink.$1 [R,NC]
    
    RedirectMatch temp ^/$ http://www.themaskedcrusader.com/main/
    In IE, I can see all my images correctly and places where I have hotlinked are broken... but in Firefox, my site shows up with all images replaced with my no hotlinking image. I'm confused.
    Edit:
    Hmm.. I let it sit for a few hours and it seems to be working now.
    Edit:
    I guess you servers are working properly because on some computers I can see it correctly and on some computers I cannot see it correctly. I'll dink with my settings for a while and see what I can do.

    Thanks.
    Last edited by javaguy78; 04-11-2007 at 10:34 AM. Reason: Automerged Doublepost

+ Reply to Thread

Similar Threads

  1. Hotlink Protection
    By Brandon in forum Tutorials
    Replies: 4
    Last Post: 05-07-2007, 07:30 AM
  2. Apple Protection Plan
    By Alexis in forum Computers & Technology
    Replies: 5
    Last Post: 12-14-2006, 11:35 AM
  3. X10 Check ure protection ( hacked )
    By Mr. Coolkat in forum Free Hosting
    Replies: 10
    Last Post: 01-27-2006, 07:30 AM
  4. Xbox 360 copy protection cracks
    By Brandon in forum Crossfire
    Replies: 24
    Last Post: 01-20-2006, 07:07 PM
  5. What virus protection program(s) do you use?
    By Kurther Reich in forum Scripts & 3rd Party Apps
    Replies: 39
    Last Post: 07-29-2005, 08:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers