아파치 에러코드
글   쓴   이 linux
날         짜 2003년 06월 12일 11시 15분 09초
본         문 HTTP 1.1 status codes [TOP]

100 : Continue
101 : Switching protocols
200 : OK, 에러없이 전송 성공
201 : Created, POST 명령 실행 및 성공
202 : Accepted, 서버가 클라이언트 명령을 받음
203 : Non-authoritative information, 서버가 클라이언트 요구 중 일부만 전송
204 : No content, 클라언트 요구을 처리했으나 전송할 데이터가 없음
205 : Reset content
206 : Partial content
300 : Multiple choices, 최근에 옮겨진 데이터를 요청
301 : Moved permanently, 요구한 데이터를 변경된 임시 URL에서 찾았음
302 : Moved temporarily, 요구한 데이터가 변경된 URL에 있음을 명시
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 timeout, 요청시간이 지남
409 : Conflict
410 : Gone, 영구적으로 사용할 수 없음
411 : Length required
412 : Precondition failed, 전체조건 실패
413 : Request entity too large,
414 : Request-URI too long, URL이 너무 김
415 : Unsupported media type
500 : Internal server error, 내부서버 오류(잘못된 스크립트 실행시)
501 : Not implemented, 클라이언트에서 서버가 수행할 수 없는 행동을 요구함
502 : Bad gateway, 서버의 과부하 상태
503 : Service unavailable, 외부 서비스가 죽었거나 현재 멈춤 상태
504 : Gateway timeout
505 : HTTP version not supported

2. 그룹에 따른 상태코드
1XX(100~199)
일반적인 정보

2XX(200~299)
클라이언트의 요청을 성공적으로 받고,이해하고 허용되어졌다.

3XX(300~399)
클라이언트의 요청이 성공적으로 이루어지기 위해서는 리다이렉션이 필요하다.

4XX(400~499)
클라이언트의 요청이 에러를 갖는등의 완벽하지

5XX(500~599)
클라이언트가 아닌 서버에서 요청을 수행하지 못하거나 에러를 발생할 경우


3. 셋팅 예제
ErrorDocument 500 http://foo.example.com/cgi-bin/tester
ErrorDocument 404 /cgi-bin/bad_urls.pl
ErrorDocument 401 /Subscription/how_to_subscribe.html
ErrorDocument 403 "Sorry can't allow you access today
ErrorDocument 500 /cgi-bin/crash-recover

ErrorDocument 401 "(html>

Authorization Required

(body> You need properly authorization to access the documents




관련 게시물 : 1 (Total 1 Articles)
번 호 제 목 글쓴이 작성일 조회수 선 택
1  아파치 에러코드 linux03-06-121884