Hotlink Protection

javaguy78

Member
Messages
107
Reaction score
0
Points
16

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
can you post your .htaccess file?
 

javaguy78

Member
Messages
107
Reaction score
0
Points
16
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
 

javaguy78

Member
Messages
107
Reaction score
0
Points
16
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:
Top