![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've been investigating 404 errors on my website. There are assorted 404 errors, including quite a few apparently mis-linked images. These occur from a variety of based generated pages (eg something like "http://mydynamicsite.com/upbin/oform", containing a base href like '<base href="http://mystaticsite.com/">' in the head). The image references are things like "media/top.gif", and this gets linked to http://mydynamicsite.com/upbin/media/top.gif rather than http://mystaticsite.com/media/top.gif They're all (apparently) from one accessor/cache server (gtw-13.nhs.uk), using MSIE 6 (for the page), and BorderManager 3.0 (for the images). I suspect it's a cache server because it's so busy. The pages work correctly for all other accessors. Anyone know of this issue ? Should I worry ? Can I provide a workaround? |
#3
| |||
| |||
|
|
On Wed, 02 Jun 2004 10:14:17 +0100, Chris Sharman wrote: I've been investigating 404 errors on my website. There are assorted 404 errors, including quite a few apparently mis-linked images. These occur from a variety of based generated pages (eg something like "http://mydynamicsite.com/upbin/oform", containing a base href like '<base href="http://mystaticsite.com/">' in the head). The image references are things like "media/top.gif", and this gets linked to http://mydynamicsite.com/upbin/media/top.gif rather than http://mystaticsite.com/media/top.gif They're all (apparently) from one accessor/cache server (gtw-13.nhs.uk), using MSIE 6 (for the page), and BorderManager 3.0 (for the images). I suspect it's a cache server because it's so busy. The pages work correctly for all other accessors. Anyone know of this issue ? Should I worry ? Can I provide a workaround? If you're using Apache, how about adding a rewrite rule like: RewriteRule ^http://mydynamicsite.com/upbin/media/(.*) http://mystaticsite.com/media/$1 [R=301] (all one line, of course). Other web servers should have similar functionality. |
![]() |
| Thread Tools | |
| Display Modes | |
| |