Welcome to WebmasterWorld Guest from 54.161.110.186

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)

WebmasterWorld Senior Member 10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



HTTP_REFERER is not reliable.

SN

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

WebmasterWorld Senior Member 10+ Year Member



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

Cheers

[webmasterworld.com...]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month