Tomcat 6.0 을 설치 후 브라우저에서 확인 할 때 servlets과의 연동이 안되는 경우 해결 방법
[root@server3 extra]# vi /usr/local/apache/conf/httpd.conf #tomcat setting include conf/extra/tomcat.conf [root@server3 extra]# pwd /usr/local/apache/conf/extra [root@server3 extra]# vi tomcat.conf [root@server3 extra]# cat tomcat.conf #mod_jk setup <IfModule mod_jk.c> JkWorkersFile "/usr/local/apache/conf/workers.properties" JkLogFile "/usr/local/apache/logs/mod_jk.log" JkLogLevel emerg JkMount /*.jsp server3-worker JkMount /examples/jsp/*.jsp server3-worker - 녹색 부분을 추가해 준다. JkMount /examples/servlets/* server3-worker </IfModule> Alias /examples "/usr/local/apache-tomcat-6.0.18/webapps/examples" <Directory "/usr/local/apache-tomcat-6.0.18/webapps/examples"> Options indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp </Directory> [root@server3 extra]# |
'Linux Server 구축 > 1-2. Web Server' 카테고리의 다른 글
PHPMyAdmin - mbstring error 해결방법 (0) | 2009.01.18 |
---|---|
PHPMyAdmin - mcrypt 문제 해결 방법 (libmcrypt 설치) (0) | 2009.01.16 |
Neither host 'server1' nor 'localhost' could be looked up with /usr/local/mysql/bin/resolveip (0) | 2009.01.15 |
ZendOptimizer (0) | 2008.12.17 |
PHPMyAdmin (0) | 2008.12.17 |
Tomcat JSP Server 소스설치 (0) | 2008.12.17 |