Welcome to WebmasterWorld Guest from 54.221.9.209

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

403 Errors on 1 page only for images

     
2:54 pm on Jan 19, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 6, 2001
posts:2213
votes: 0


I am throwing 403 errors for images on the index page only. Every other page is fine and once the image has been cached it works fine.

I have the following in my htaccess to prevent hotlinking, but sure that would affect every page?

RewriteCond %{HTTP_REFERER}!^http://mysite.co.uk/.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://www.mysite.co.uk/.*$ [NC]
#RewriteCond %{HTTP_REFERER}!^http://www.trusted.com/.*$ [NC]
RewriteRule .*\.(gif¦GIF¦jpg¦JPG)$ - [F]

Cheers

I think this has cost me an ODP listing so I have the hump.
:(

3:00 pm on Jan 19, 2004 (gmt 0)

Senior Member from MT 

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 1, 2003
posts:1843
votes: 0


HTTP_REFERER is not reliable.

SN

3:06 pm on Jan 19, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 6, 2001
posts:2213
votes: 0


Found this not long after posting. Think I have it sorted.

Cheers

[webmasterworld.com...]