메뉴 건너뛰기

Dev tips

Apache+Tomcat 웹서버 에러번호

taknim 2005.12.03 01:47 조회 수 : 9260 추천:2448

http://blog.naver.com/post/postView.jsp?blogId=snazzy79&logNo=60017669985&categoryNo=4&viewdate=&cpage2=1&cpage=1응용편

<?
header("HTTP/1.0 404 Not Found");
exit;
?>

위 소스를 복사해서 php계정에 올리면 됩니다.

응용
-------------------------------------------------------
100 ㅡ Continue,
101 ㅡ Switching Protocols,
200 ㅡ OK,
201 ㅡ Created,
202 ㅡ Accepted,
203 ㅡ Non-Authoritative Information,
204 ㅡ No Content,
205 ㅡ Reset Content,
206 ㅡ Partial Content,
300 ㅡ Multiple Choices,
301 ㅡ Moved Permanently,
302 ㅡ Moved Temporarily,
303 ㅡ See Other,
304 ㅡ Not Modified,
305 ㅡ Use Proxy,
400 ㅡ Bad Request,
401 ㅡ Unauthorized,
402 ㅡ Payment Required,
403 ㅡ Forbidden,
404 ㅡ Not Found,
405 ㅡ Method Not Allowed,
406 ㅡ Not Acceptable,
407 ㅡ Proxy Authentication Required,
408 ㅡ Request Time-out,
409 ㅡ Conflict,
410 ㅡ Gone,
411 ㅡ Length Required,
412 ㅡ Precondition Failed,
413 ㅡ Request Entity Too Large,
414 ㅡ Request-URI Too Large,
415 ㅡ Unsupported Media Type,
500 ㅡ Internal Server Error,
501 ㅡ Not Implemented,
502 ㅡ Bad Gateway,
503 ㅡ Service Unavailable,
504 ㅡ Gateway Time-out,
505 ㅡ HTTP Version not supported