apache 404 error page ์„ค์ •
ยท
Server/Apache
๊ฒฝ๋กœ ํ™•์ธ# pwd ์ž…๋ ฅ /apache/conf ํ™•์ธ ์„ค์ • ํ™•์ธ# cat httpd.conf |grep ErrorDocument ์ž…๋ ฅ #ErrorDocument 500 "The server made a boo boo."#ErrorDocument 404 /missing.html#ErrorDocument 404 "/cgi-bin/missing_handler.pl"#ErrorDocument 402 http://www.example.com/subscription_info.html ํ™•์ธ httpd ํŽธ์ง‘#vim httpd.conf ์ž…๋ ฅ ํ›„ ์ฃผ์„์ฒ˜๋ฆฌ๋œ#ErrorDocument 404 "/error-404.html" → ErrorDocument 404 "/error-404.html"์ฃผ์„ ํ•ด์ œ ํ›„ ์ €์žฅ [๋ณ€๊ฒฝ๋œ ๋ฌธ์žฅ]#..