리눅스 분류
특정페이지에 인증걸기에서 질문입니다.
작성자 정보
- 김선달 작성
- 작성일
컨텐츠 정보
- 2,019 조회
- 0 추천
- 목록
본문
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Apache/1.3.23 Server at abc.co.kr Port 80 3회이상 잘못입력했을 경우에 위와 같은 메지시가 뜨게 되죠. 즉, 인증실패라는 것인데요. 이경우 httpd.conf 파일내부에 보시면 # 2) local redirects
#ErrorDocument 403 http://www.abc.com/403forbidden/index.html
#ErrorDocument 404 /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl 이런 설정부분이 있을 것입니다. 즉, 어떤 에러(에러코드로 구분됨)가 발생했을 경우에 보여줄 페이지를 지정한 것이지요. 이를 리다이렉트라고 합니다. 인증에러일 경우에 401에 해당하니깐요.. #ErrorDocument 401 http://www.abc.com/403forbidden/index.html 이런식으로 설정을 해두시면 될것 같습니다. PS : 확인은 해보지 않았습니다. 결과를 알려주시면 감사하지요..
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.