You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by おおぜき <ko...@gmail.com> on 2008/06/17 07:46:09 UTC

[users@httpd] ErrorDocument 400 xml

Hi,

it works ErrorDocument basic configuration at apache 2.2.6 (win32).

i configured HTTP status 400, 404 and 500 like that
------
#ErrorDocument 400 /errors/400.xml
ErrorDocument 400 /errors/400.html
ErrorDocument 404 /errors/404.xml
ErrorDocument 500 /errors/500.xml

AddType application/xml .xml
------
i verified 404 on firefox and telnet,
but didn't work 400.xml instead of reply standard 400(html format)
(it worked custom 400.html)

i tried in telnet as below(no host value)
-----
telnet localhost 80
GET / HTTP/1.1

-----

my question is
1. my configuration is wrong ?
2. Is the method of verifying me wrong?
3. apache doesn't support  ?

sorry, my poor english.

-- 
komusubi <ko...@gmail.com>

---------------------------------------------------------------------
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