| norliss |
|
NetHosted Customer

Joined: 04 Apr 2006 Posts: 42
|
Posted: Wed May 17, 2006 7:38 am Post subject: Bizarre 403 forbidden issue |
| |
I've created a page from which there are a few re-sized pop-up windows (the images) done by basic javascript:
http://www.dev.norliss.co.uk/masterton/merchandise.html
This works fine in browsers other than MS IE (what a surprise) in which a strange 403 Forbidden error occurs rather than displaying the image in the re-sized window.
Has anyone encountered this before? |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Wed May 17, 2006 12:20 pm Post subject: |
| |
Are you having any luck tracking this down? It works fine here in Safari too. The only errors I can see in the logs regarding missing files is this:
File does not exist: /home/norliss/public_html/dev/masterton/merchandise.html
Does that help?
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| norliss |
|
NetHosted Customer

Joined: 04 Apr 2006 Posts: 42
|
Posted: Wed May 17, 2006 12:55 pm Post subject: |
| |
Am in work so not really had much chance to find out yet. It's strange that it's only MS IE (well it would be, wouldn't it?!) that this occurs in.
Cheers for looking at the logs Andrew, though unfortunately I'm still none the wiser for that. The images are placed in an images sub-folder which are correctly referenced in the source code so Gawd knows why this is happening in IE.
Down with MS IE say I!
Last edited by norliss on Wed May 17, 2006 1:09 pm; edited 1 time in total |
|
| Back to top |
|
| aos101 |
|
NetHosted Customer
Joined: 27 Jan 2005 Posts: 71 Location: Kent, UK
|
Posted: Wed May 17, 2006 1:09 pm Post subject: |
| |
Just been looking at this and I think you have hotlink protection turned on in cPanel? Tick the "Allow direct requests" box under hotlink protection and see if that fixes it. Your hotlink protection is set so that images won't be served up if the client doesn't send a referrer (tested this with the Firefox web developer extension), and IE doesn't seem to send a referrer when it loads the image in the popup window (but Firefox does). _________________ Adam |
|
| Back to top |
|
| norliss |
|
NetHosted Customer

Joined: 04 Apr 2006 Posts: 42
|
Posted: Wed May 17, 2006 1:13 pm Post subject: |
| |
You're a gem: that's exactly what it was. I've allowed direct requests and all is now well.
Many thanks, I dread to think how long that would have taken me to find out! |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Wed May 17, 2006 1:17 pm Post subject: |
| |
aos101 - nice detective work!
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
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
|
| |