>> Delete Reply from No. 0 article
No. RE: RE: RE: JSP파일을 못찾는다면??

등록 2002-05-08 13:43:00 By localhost     조회 2
이름 김서방    

		: : :
: : : Not Found (404)
: : : Original request: /~netguard/jsp/colors/colrs.jsp
: : : Not found request: /~netguard/jsp/colors/colrs.jsp
: : :
: : : 위와 같이 웹상에서 jsp파일을 못찾는다는 에러가 나더군요..
: : : mod_jk.conf-auto 파일에서 아래와 같이 설정을 해주었는데..
: : : 어디가 틀린걸까요? 아니면 그외 더 필요한 것이 있나요?
: : :
: : : #########################################################
: : : # Auto configuration for the /netguard context starts.
: : : #########################################################
: : :
: : : #
: : : # The following line makes apache aware of the location of the /netguard context
: : : #
: : : Alias /netguard "/home/netguard/public_html"
: : : <Directory "/home/netguard/public_html">
: : :     Options Indexes FollowSymLinks
: : : </Directory>
: : :
: : : #
: : : # The following line mounts all JSP files and the /servlet/ uri to tomcat
: : : #
: : : JkMount /netguard/servlet/* ajp12
: : : JkMount /netguard/*.jsp ajp12
: : :
: : : #
: : : # The following line prohibits users from directly accessing WEB-INF
: : : #
: : : <Location "/netguard/WEB-INF/">
: : :     AllowOverride None
: : :     deny from all
: : : </Location>
: : :
: : : #
: : : # The following line prohibits users from directly accessing META-INF
: : : #
: : : <Location "/netguard/META-INF/">
: : :     AllowOverride None
: : :     deny from all
: : : </Location>
: : 사용자의 홈에서 jsp를 되시게 하려나 봅니다.^^;;
: : 톰캣 3.x대 버전이시죠?
: : 님처럼 하시면 안되구요...
: : 일단 context에 추가를 해줍니다.(server.xml 요 파일만 손대시면 됩니다.)
: : mod_jk.conf-auto 파일은 전혀 손대실 필요가 없습니다.
: : server.xml파일 에서
: :   <Context path="/examples"
: :                   docBase="webapps/examples"
: :                   crossContext="false"
: :                   debug="0"
: :                   reloadable="true" >
: :          </Context>
: : 와 같은 부분을 찾아서 님이 원하시는 부분으로 고쳐주시면 됩니다.
: : 예를 들면
: : Context path=/~계정
: : docBase="/home/계정/public_html
: : 요런식으로요....
: : Context path=/계정 이렇게 하시면
: : http://서버/계정 이렇게 접속을 해야지만 파일을 찾습니다.
: : 몇번 해보시면 금방 아실겁니다.
: : 수고하세요..
: :
:
: 물론 server.xml 파일에 아래처럼 넣어주었거든요..
: 그래도 리스타트 시킨후 낫 파운드 나오는데요.. -_-;
:
: <Context path="/netguard"
:  docBase="/home/netguard/public_html"
:  crossContext="false"
:  debug="0"
:  reloadable="true" >
: </Context>
:
:
: 
:
: : --
: : 산은 지리산~~
path= 어떻게 주셨나요?--산은 지리산~~
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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