You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rasmus Lerdorf <ra...@apache.org> on 2003/01/28 11:31:49 UTC

[users@httpd] ErrorDocument 400 doesn't always work?

Hey, when using:

ErrorDocument 400 /foo.html

How come it works for a malformed request that looks like:

 GET   HTTP/1.0

But not for:

 GET / HTTP 1.0

Both throw a 400 without the ErrorDocument config line, but when I put it 
in the first is redirected and the second throws a 400.

-Rasmus


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org