[ic] Manually returning a 404 = blank page
Daniel Davenport
ddavenport at newagedigital.com
Sat May 21 01:47:29 EDT 2005
>>> emailgrant at gmail.com 05/18/05 12:30 PM >>>
> > The <html><body></body></html> is something IE and some other browsers
> > do when the page they get is empty. I imagine it's cause their parsers
> > freak out when there's nothing to parse.
>
> Ah, I see.
>
> > I hope you have something besides the [tag] stuff in your missing.html
> > page. If you don't, that's part of the problem--404s should still have
> > content, and if you don't create it in missing.html, you'll end up with
> > a blank 404 page. IE might do its "friendly HTTP errors" thing, but
> > anyone whose browser doesn't have its own built-in error pages will see
> > nothing but blankness.
>
> I definitely still have a full page in there. If I don't use the
> [tag] it displays just fine. Even more frustrating, I get a 200 even
> if I use the [tag] and see a blank page.
> > For reference, i tried the single-line header, and it seems to work fine.
> > Returns a 404 status code and all. And the rest of the content, which i
> > left in the page, still shows up.
> I don't use a standard Foundation catalog, but that [tag] should
> return a 404 no matter what page it's on right?
Should. I've used it on special_pages/missing.html as well as
pages/404test.html. Worked fine in both places.
[tag header]
Status: 404 not found
Content-type: text/html; charset=us-ascii
[/tag]
<p>Just testing.</p>
That's the 404test.html page i made. Wget returns a 404
when trying to get the page, and the text shows up in the
browser.
Open question: are there versions of IC that don't have
[tag header]? (I've only used 5.2 and 5.3. Both of them
have it.)
/
More information about the interchange-users
mailing list