아파치 리다이렉트 (오류 메시지 변경하기)
글쓴이: 똘군 / 작성시간: 토, 2006/02/25 - 11:48오전
Order allow,deny
Allow from all
Deny from xxx.xxx.xxx.xxx
</Directory>
<LocationMatch "^/$>
Options -Indexes
ErrorDocument 403 /error/noindex.html
아래와 같이 설정을 했을때 xxx.xxx.xxx.xxx로 해당하는 아이피가
noindex.html을 볼 수 있엇습니다[테스트 페이지]
그리고 noindex.html이 아닌 다른 오류 문서를 넣어 보았습니다.
Order allow,deny
Allow from all
Deny from xxx.xxx.xxx.xxx
</Directory>
<LocationMatch "^/$>
Options -Indexes
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
아래와 같이 설정을 해서 forbidden.html.var이라는 문서를 보이게 할려고 했는데 띄어야할 페이지는 안뜨고 다른 페이지가 뜹니다.
리다이렉트를 한다고 했는데 이해가 잘 안갑니다 ㄱ-...[이게 리다이렉트가 맞는거긴 한가 ...?]
도와주세요 8)
Forums:
댓글 달기