Follow Me on Twitter
Client Support Community Server Status Contact Us Client Login
Email Hosting Website Hosting Reseller Hosting VPS Hosting Dedicated Servers

    Join our Community      Check your private messages       Profile       Search       FAQ       Memberlist       Log in


Are there any IE experts around?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NetHosted Community Index -> Web Design
Ian Reply with quote
 NetHosted Customer

 

 Joined: 19 Jul 2009
 Posts: 149
 Location: Worcestershire

PostPosted: Tue Aug 31, 2010 7:30 pm    Post subject: Are there any IE experts around?
 
Long story short, I now have HotLinking Protection enabled correctly.

However, clicking on a thumbnail to open up the full size image in IE, I get a "Forbidden" message in the new window; I'm not sure if anyone else does.... I know everything works fine in Chrome and Safari but not in IE.

Andrew has advised that it could be a 'Referres' setting in IE or possibly in my AV which is stopping this from working. I've looked everywhere and cannot find anything which looks like it. My AV is MS Essentials and can't find anything in there either.

Can anyone help with this, or do I need to possibly insert extra code in to my website programming to allow for IE users?


Any advice or help would be greatly appreciated!

_________________
Photographer extra extraordinaire...
Back to top
View user's profile Send private message Visit poster's website
BrightEyesDavid Reply with quote
 NetHosted Customer

 

 Joined: 24 Nov 2005
 Posts: 180
 Location: Cologne, Germany

PostPosted: Tue Aug 31, 2010 8:23 pm    Post subject:
 
If you send me the URL I can test from IE on my laptop tomorrow.
_________________
David Oliver - Web and print design 
Back to top
View user's profile Send private message Visit poster's website
Ian Reply with quote
 NetHosted Customer

 

 Joined: 19 Jul 2009
 Posts: 149
 Location: Worcestershire

PostPosted: Tue Aug 31, 2010 9:05 pm    Post subject:
 
Hi,

If you click on any of the thumbnails on my site www.ian-savage.com and if you could let me know what happens I'd greatly appreciate it.

_________________
Photographer extra extraordinaire...
Back to top
View user's profile Send private message Visit poster's website
BrightEyesDavid Reply with quote
 NetHosted Customer

 

 Joined: 24 Nov 2005
 Posts: 180
 Location: Cologne, Germany

PostPosted: Wed Sep 01, 2010 7:05 am    Post subject:
 
From a bit of searching, it seems the problem is indeed that IE does not send its referrer header in certain situations.

To allow blank referrers (it's recommended to do so anyway), add this to your .htaccess file just above your other rewritecond lines:

Code:
RewriteCond %{HTTP_REFERER} !^$


Creating the Ultimate htaccess Anti-Hotlinking Strategy  is a good resource.

_________________
David Oliver - Web and print design 
Back to top
View user's profile Send private message Visit poster's website
Ian Reply with quote
 NetHosted Customer

 

 Joined: 19 Jul 2009
 Posts: 149
 Location: Worcestershire

PostPosted: Wed Sep 01, 2010 6:52 pm    Post subject:
 
Hi,

I've added the line of code and it does allow the image popup windows to work in IE but I'm not sure if it has cancelled out the hotlinking?

Anyone want to try for me?

_________________
Photographer extra extraordinaire...
Back to top
View user's profile Send private message Visit poster's website
BrightEyesDavid Reply with quote
 NetHosted Customer

 

 Joined: 24 Nov 2005
 Posts: 180
 Location: Cologne, Germany

PostPosted: Wed Sep 01, 2010 7:08 pm    Post subject:
 
Pics still aren't loading from other sites - tested by pasting image url into Firebug.
_________________
David Oliver - Web and print design 
Back to top
View user's profile Send private message Visit poster's website
Ian Reply with quote
 NetHosted Customer

 

 Joined: 19 Jul 2009
 Posts: 149
 Location: Worcestershire

PostPosted: Wed Sep 01, 2010 7:13 pm    Post subject:
 
David,

Many many thanks for your help, it has been greatly appreciated

_________________
Photographer extra extraordinaire...
Back to top
View user's profile Send private message Visit poster's website
Ian Reply with quote
 NetHosted Customer

 

 Joined: 19 Jul 2009
 Posts: 149
 Location: Worcestershire

PostPosted: Wed Sep 01, 2010 9:41 pm    Post subject:
 
Ok, confused again.....

Had a look at the Hotlink section in Cpanel and a tick had appeared in the box for "Allow direct requests (ie. entering the url to an image in your browser)"

Now I know for sure that I didn't put it in there, would the addition of the
Code:
RewriteCond %{HTTP_REFERER} !^$
line in my .htaccess file have put it in there? With that box ticked, will the hotlink still properly work, as a message from Andrew said that it wouldn't be ticked.

Advice anyone?

_________________
Photographer extra extraordinaire...
Back to top
View user's profile Send private message Visit poster's website
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 7017
 

PostPosted: Wed Sep 01, 2010 9:53 pm    Post subject:
 
Hi,

That line would make that box ticked once more and allow direct connections to the image.

Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Follow us on Twitter: http://twitter.com/nethosted 
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
Ian Reply with quote
 NetHosted Customer

 

 Joined: 19 Jul 2009
 Posts: 149
 Location: Worcestershire

PostPosted: Wed Sep 01, 2010 9:54 pm    Post subject:
 
Umm.... therefore I need to remove the line and find another answer?
_________________
Photographer extra extraordinaire...
Back to top
View user's profile Send private message Visit poster's website
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 7017
 

PostPosted: Wed Sep 01, 2010 9:57 pm    Post subject:
 
Hi,

It would seem so. You could probably add a IE specific RewriteCond so that rule only applied to IE e.g.

Code:
RewriteCond %{HTTP_USER_AGENT} MSIE


Thanks,

Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Follow us on Twitter: http://twitter.com/nethosted 
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
SarahP Reply with quote
 NetHosted Customer

 

 Joined: 23 Jun 2009
 Posts: 37
 

PostPosted: Wed Sep 01, 2010 9:59 pm    Post subject:
 
Hi Ian,

Never mind hotlinking. I just had a look at your site and noticed every directory has NO INDEX FILE inside them, so the pictures could be robbed by pure copy & paste methods even though you have a water mark on each one. I did not investigate if you had real full-sized pictures on your site but if you have they will be found with no index file (open directory in other words).

SarahP
Back to top
View user's profile Send private message
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 7017
 

PostPosted: Wed Sep 01, 2010 10:05 pm    Post subject:
 
Ian,

You can disable the behaviour SarahP has described by using the No Indexing option for the folder(s) in question via the Index Manager in cPanel.

Thanks,

Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Follow us on Twitter: http://twitter.com/nethosted 
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
Ian Reply with quote
 NetHosted Customer

 

 Joined: 19 Jul 2009
 Posts: 149
 Location: Worcestershire

PostPosted: Wed Sep 01, 2010 10:05 pm    Post subject:
 
NetHosted - Andrew wrote:
Hi,

It would seem so. You could probably add a IE specific RewriteCond so that rule only applied to IE e.g.

Code:
RewriteCond %{HTTP_USER_AGENT} MSIE


Thanks,

Andrew


Would I drop that in anywhere in the .htaccess file along with the
Code:
RewriteCond %{HTTP_REFERER} !^$
or in a specific place?


Sorry to be a pain but way out of my limited depth here!

_________________
Photographer extra extraordinaire...
Back to top
View user's profile Send private message Visit poster's website
Ian Reply with quote
 NetHosted Customer

 

 Joined: 19 Jul 2009
 Posts: 149
 Location: Worcestershire

PostPosted: Wed Sep 01, 2010 10:10 pm    Post subject:
 
NetHosted - Andrew wrote:
Ian,

You can disable the behaviour SarahP has described by using the No Indexing option for the folder(s) in question via the Index Manager in cPanel.

Thanks,

Andrew


Can I just choose the No Index Option for the main folder the image folders are in, or does it have to be each subfolder which contains images?

_________________
Photographer extra extraordinaire...
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    NetHosted Community Index -> Web Design
Goto page 1, 2  Next
Page 1 of 2

User Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

 
Jump to: