tomcat 설정?
글쓴이: aNsITAte / 작성시간: 화, 2005/07/19 - 3:23오전
tomcat 5.5를 돌리고 있고 아파치2랑 연동을 시켰습니다.
libapache2-mod-jk2
모듈을 이용했는데요.
개별사용자의 홈디렉토리에 JSP가 가능하도록 설정하고 싶습니다.
찾아봐도 그냥 돌리는 것만 있고 개별사용자에 대한 이야기는없더라구요
예를 들자면
/home/*/public_html/servelt
과 같은 디렉토리를 jsp 가 가능한 디렉토리로 만들고 싶습니다.
방법이 없을까요?
myWorkers.properties 는 atie님이 올려주신 그대로 사용하고 잇습니다.
#/usr/local/tomcat/conf/myWorkers2.properties [logger] level=DEBUG [config:] file=/usr/local/tomcat/conf/conf/myWorkers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=0 # Alternate file logger #[logger.file:0] #level=DEBUG #file=/usr/local/tomcat/conf/logs/jk2.log [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=/usr/local/tomcat/conf/logs/jk2.shm size=1000000 debug=0 disabled=0 [workerEnv:] info=Global server options timing=1 debug=0 # Default Native Logger (apache2 or win32 ) # can be overriden to a file logger, useful # when tracing win32 related issues #logger=logger.file:0 [lb:lb] info=Default load balancer. debug=0 [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8009 [status:] info=Status worker, displays runtime informations [uri:/jkstatus/*] info=Display status information and checks the config file for changes. group=status: [uri:/admin/*] info=Tomcat HTML based administration web application. debug=0 [uri:/manager/*] info=A scriptable management web application for the Tomcat Web Server. debug=0 [uri:/jsp-examples/*] info=JSP 2.0 Examples. debug=0 [uri:/servlets-examples/*] info=Servlet 2.4 Examples. debug=0 [uri:/*.jsp] info=JSP Extension mapping. debug=0
Forums:
댓글 달기