 |
|
24th June 2008, 16:06
|
#111651
|
|
Super poster
Join Date: Jun 2007
Location: Your local branch
Posts: 2,601
|
Quote:
Originally Posted by TheBigYinJames
They'll be catching the 404 behind the scenes and redirecting. On ClientCoSite we use this very mechanism to produce resized car images on demand... you call the image with the size in the url e.g. /images/300x200/fordfiesta.jpg and when the server catches the 404, we redirect to a script which examines the url, creates the correct sized image on the fly from a large reference image, sticks it in the cache, and then redirects to that image.
|
I'm familiar with the technique you describe, but that doesn't make any sense in this context - the page is for their 2005 conference, and is therefore obsolete, so the intention is clearly to actually serve a response saying that the page is no longer available.
Clearly some incompetent has been told to replace the page with a 404, and thinks that just sticking up a page saying 404 is adequate, not realising that you have to send the actual HTTP response code.
And anyway, it should be 410 Gone 
Last edited by NickFitz : 24th June 2008 at 16:09.
Reason: Linky to RFC2616
|
|
|
24th June 2008, 16:10
|
#111652
|
|
Contractor Among Contractors
Join Date: Jun 2008
Posts: 1,437
|
Quote:
Originally Posted by NickFitz
Clearly some incompetent has been told to replace the page with a 404, and thinks that just sticking up a page saying 404 is adequate, not realising that you have to send the actual HTTP response code.
|
It does seem a bit odd to make a page which is pretending to be a 404. Either they should serve a pretty "no longer here" page or just delete the folder and they'll get a proper server 404 for free 
|
|
|
24th June 2008, 16:20
|
#111653
|
|
Super poster
Join Date: Jun 2007
Location: Your local branch
Posts: 2,601
|
Quote:
Originally Posted by TheBigYinJames
It does seem a bit odd to make a page which is pretending to be a 404. Either they should serve a pretty "no longer here" page or just delete the folder and they'll get a proper server 404 for free 
|
Even if they serve a pretty "no longer here" page they ought to serve it with response code 410, or 404 at a pinch, otherwise it will continue to be indexed by search engines and such. Once they see the 410 (or 404) it will be removed from indexes, whereas as long as it's served with 200 OK it will be assumed to be the actual resource located at that URL and will be indexed.
On the same topic, why don't browsers automatically update bookmarks when they get a 301 Moved Permanently? 
|
|
|
24th June 2008, 16:50
|
#111654
|
|
GreatestOfDads
Join Date: Aug 2006
Location: Cell 6 Bedlam Ward
Posts: 10,391
|
Quote:
Originally Posted by NickFitz
I'm familiar with the technique you describe, but that doesn't make any sense in this context - the page is for their 2005 conference, and is therefore obsolete, so the intention is clearly to actually serve a response saying that the page is no longer available.
Clearly some incompetent has been told to replace the page with a 404, and thinks that just sticking up a page saying 404 is adequate, not realising that you have to send the actual HTTP response code.
And anyway, it should be 410 Gone 
|
 more nerdy stuff!
|
|
|
24th June 2008, 16:51
|
#111655
|
|
GreatestOfDads
Join Date: Aug 2006
Location: Cell 6 Bedlam Ward
Posts: 10,391
|
Quote:
Originally Posted by kali
Just a cup of tea and a snog then.... 
|
What do I get for £50?
|
|
|
24th June 2008, 16:53
|
#111656
|
|
GreatestOfDads
Join Date: Aug 2006
Location: Cell 6 Bedlam Ward
Posts: 10,391
|
Quote:
Originally Posted by kali
I am "so" bored......
There must be more to life than this.... If I was younger I'd sell my bod instead
Anything to break the monotony....
|
How old are you?
|
|
|
24th June 2008, 17:02
|
#111657
|
|
Super poster
Join Date: Jun 2007
Location: Your local branch
Posts: 2,601
|
Quote:
Originally Posted by NickFitz
On the same topic, why don't browsers automatically update bookmarks when they get a 301 Moved Permanently? 
|
Just tested on Opera 9.22, Firefox 2 and Safari 3 (can't be bothered to dig out the build numbers)... none of them update the URL of a bookmark on receiving a 301 Moved Permanently response, despite the fact that they've just been told that the resource has, um, moved permanently - and they know where to, because they follow the redirect.
Surely the whole point is to update the bookmark so that when you use it again, you get to the actual resource you were trying to get to, rather than having to be redirected a second time? 
Last edited by NickFitz : 24th June 2008 at 17:05.
|
|
|
24th June 2008, 17:24
|
#111658
|
|
GreatestOfDads
Join Date: Aug 2006
Location: Cell 6 Bedlam Ward
Posts: 10,391
|
BrilloPad 12,840
zeitghost 11,849
DS23 10,000
hmmm - I am not drivelling enough!
|
|
|
24th June 2008, 17:36
|
#111659
|
|
Super poster
Join Date: Jun 2007
Location: Your local branch
Posts: 2,601
|
Quote:
Originally Posted by NickFitz
Surely the whole point is to update the bookmark so that when you use it again, you get to the actual resource you were trying to get to, rather than having to be redirected a second time? 
|
Hmm... apparently one of the problems with automatically updating bookmarks is that certain incompetent closed wifi access point administrators use a 301 Moved Permanently redirect to send one to their login page... they should of course use 302 Found (or preferably either 303 See Other or 307 Temporary Redirect)
And where does one find these incompetent buffoons?
Hotel wifi providers, of course 
|
|
|
24th June 2008, 17:46
|
#111660
|
|
More fingers than teeth
Join Date: Jul 2005
Posts: 14,616
|
Quote:
Originally Posted by RichardCranium
Gosh. Things do move on.
That all sounds too hard now.
|
Quite.
There was a time when I could have designed a PC AT it was just a bog standard micro with ttl glue logic & Intel support chips... these days there's no chance 
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 23:38.
|  |
| Advertisers |
|
| Contractor Alliance |
Formed a new Ltd Co?
20% off business insurance
£10 off Bauer & Cottrell contract reviews
Find co-workers & client introductions
Increase your value to clients here
|
|