MudGuard: REQUEST_URI bei 404 ist die der Fehlermeldung

Beitrag lesen

Hi,

Lies Dir die Doku zu ErrorDocument durch, da steht drin, warum das so ist.

Also in der auf apache.org steht es nicht...

Doch, da steht es:

Note that when you specify an ErrorDocument  that points to a remote URL (ie. anything with a method such as http in front of it), Apache will send a redirect to the client to tell it where to find the document, even if the document ends up being on the same server. This has several implications, the most important being that the client will not receive the original error status code, but instead will receive a redirect status code. This in turn can confuse web robots and other clients which try to determine if a URL is valid using the status code.

Nachzulesen unter http://httpd.apache.org/docs-2.0/mod/core.html#errordocument für den 2.0er Apache und unter http://httpd.apache.org/docs/mod/core.html#errordocument für den 1.3er Apache.

Ach ja, wenn Dein Browser so konfiguriert ist, Fehler-Dokumente des Servers zu ignorieren, kann der Server natürlich nichts machen...

cu,
Andreas

--
Der Optimist: Das Glas  ist halbvoll.  - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/