민서네집

Apache Webserver 에서 404 에러가 날 경우 특정 웹페이지로 보내는 방법 본문

LINUX

Apache Webserver 에서 404 에러가 날 경우 특정 웹페이지로 보내는 방법

브라이언7 2015. 2. 17. 17:51

Apache Webserver 에서 404 에러가 날 경우 특정 웹페이지로 보내는 방법


[참고]


http://www.mjstory.com/bbs/view.php?id=study&page=8&sn1=&divpage=1&sn=.&ss=off&sc=off&select_arrange=headnum&desc=asc&no=44


http://www.linuxquestions.org/questions/linux-general-1/apache-how-to-redirect-all-pages-404-not-found-to-the-homepage-413607/


/etc/apache2/httpd.conf 파일에서 


ErrorDocument 404 절대경로홈페이지


ex) ErrorDocument 404 http://empas.com



'LINUX' 카테고리의 다른 글

last , who command 설명  (0) 2015.06.19
[Ubuntu] How do I get /var/log/messages?  (0) 2015.06.19
[vsftpd] Passive 모드 설정하기  (0) 2015.02.17
Apache 2 Server에 보안인증서(SSL) 설치하기  (0) 2015.02.17
[Ubuntu] Tomcat7 설치하기  (0) 2015.02.03
Comments