Network
- WAS서버가 모두 죽었을 경우 웹서버 설정으로 오류페이지 호출 방법 2019.02.22
WAS서버가 모두 죽었을 경우 웹서버 설정으로 오류페이지 호출 방법
2019. 2. 22. 10:46
★ WAS서버가 모두 죽었을 경우 Apache 웹서버에서 세팅한 html페이지를 호출해준다.
- 오류페이지 세팅 파일 : apache/conf/extra/httpd-vhosts.conf (http)
apache/conf/extra/httpd-ssl.conf (https)
- <VirtualHost> 아래에 호출할 오류페이지 ErrorDocument 삽입
<VirtualHost *:80>
..........
ErrorDocument 503 /errorPage/503-error.htm
ErrorDocument 404 /errorPage/404-error.htm
</VirtualHost>