* j8 d% E; }: |/ YApache官方提供4种错误处理方式(http://httpd.apache.org/docs/2.0/mod/core.html#errordocument),如下 6 _' e- O& q& O' T! s# \+ A2 s) C- W6 c- F$ }9 Q9 m
In the event of a problem or error, Apachecan be configured to do one of four things, 5 I6 l" t N( g! {: v+ g- R1 `- f9 u+ ]. c
1. output asimple hardcoded error message输出一个简单生硬的错误代码信息- [4 q7 m* D/ e. g$ X
2. output acustomized message输出一段信息$ V7 z& J" j& c1 N
3. redirect to alocal URL-path to handle the problem/error转向一个本地的自定义页面 ' Y9 a9 G) Q% Y8 N# U4. redirect to an external URL to handle theproblem/error转向一个外部URL: \8 H1 ?. G8 l4 E- ]( A