Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] ErrorDocument 400 xml

おおぜき

2008-06-17


Author LoginPost Reply
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 <komusubi@(protected)>

---------------------------------------------------------------------
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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.