not quite a 404

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
No-one technical left here really but I may as well ask, is this an
example of a poorly set up apache server?
The requested URL /robots.txt was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.

Isn't the error document the 404 itself? Normally? Or is this just a
404 variant? I've seen it a couple of places lately.



Re: not quite a 404

Big Bill schreef:
Quoted text here. Click to load it

If someone sets up his / her own 404 page with a directive in the
.htaccess, it will encounter an error if there is no customized 404
error document.

For example:

I placed the directive "ErrorDocument 404 /errors/404.html" in my .htaccess

No i forget to place my own error document in the directory /errors or
misplaced it into some other directory, the following will happen:

Visitor (browser / bot / whatever) asks for a document, this document is
not there, the server answers 404 and wants to deliver the document that
should be in /errors but there is no 404 document, so it delivers
another error.

And that is what you get.

Webdesign: /
Korte handleiding zoekmachine optimalisatie / gevonden worden:
Lifestyle - wonen reizen en genieten :

Re: not quite a 404

On Wed, 22 Aug 2007 18:52:42 +0200, Tonnie Lubbers

Quoted text here. Click to load it

Hah! Thought so. Many thanks.


Re: not quite a 404

Big Bill wrote:

Quoted text here. Click to load it

That's what you get, if you have something like
  ErrorDocument 404 /my-404-error.html
in your apache config, but my-404-error.html does not exist.
The response above is the 404 error document for the original request
to /robots.txt. Apache did an internal request to the custom error
document, which gave another 404 - that's what the 'Additionally, ...' note
is about.

Benjamin Niemann
Email: pink at odahoda dot de
WWW: /

Re: not quite a 404


Quoted text here. Click to load it

Many thanks.


Site Timeline