>> Delete Reply from No. 3303 article
No. RE: 없는 호스트를 요청할때

등록 2000-08-21 12:57:00 By localhost     조회 2
이름 세이    

		# Customizable error response (아파치 style)
# these come in three flavors
# 서버 에러에 대한 응답을 지정해 줄 수 있습니다.
# 각 에러 코드에 대한 응답을 cgi나 일반 텍스트로 만들어서 사용자에게
보여줄 수 있다. 어떤 서버에 접속하면 해당 URL이 없다는 등의 한글메시지가
가능한 것도 이것을 이용하는 것이다.
#    1) plain text
#ErrorDocument 500 "The server made a boo boo.
#  n.b.  the (") marks it as text, it does not get output
#
#    2) local redirects
#ErrorDocument 404 /missing.html
#  to redirect to local url /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  n.b. can redirect to a script or a document using server-side-includes.
#
#    3) external redirects
#ErrorDocument 402 http://other.server.com/subscription_info.html #
 
srm.conf 또는 httpd.conf에서 위와 비슷한 곳을 찾아서 주석을 풀어주고
해당 html 파일을 만드시면 가능 하답니다.
없으시면 만드시면 되구요.
 원래는 srm.conf에 하는게 맏는데 알짜리눅슨가는 설정 파일을 httpd.conf로
합쳐 놔서 httpd.conf에서 설정 하세야 합니다.
   : 버추얼 호스트에서
:
: http://????.new21.net 이라고 했을때요.
:
:
: 잘못된 가상도메인을 입력하면
:
: 그런 가상도메인은 존재하지 않는다는 페이지를 나타내고 싶은데
:
: 어떻게 하죠?
:
: http://new21.net 은 어떻게 했을까요?
:
: 아파치에서 404 not found 이런 페이지가 나오는 거처럼
: 쉽게 바꿀수 있나요?--이 곳에 서명을 적어주십시오.
사랑이란??
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved