apache+tomcat설치후 apache환경설정에 대한 궁금
리눅스 초보입니다..(fedora core 9)
apache와 tomcat을 연동해서 jsp로 테스트 해볼려고 하거든요.
apache2 + tomcat5.5를 깔았습니다.
apache 설치는
#tar xvfz httpd-2.2.9.tar.gz
#cd httpd-2.2.9
#CC="gcc" CFLAGS="-O2" ./configure --prefix=/usr/local/apache2 --enable-so --enable-proxy-ajp --enable-cgi --enable-rewrite --enable-speling --enable-usertrack --enable-deflate --enable-ssl --enable-cache --enable-disk-cache --enable-expires --enable-file-cache --enable-headers --enable-mem-cache --enable-mime-magic --enable-proxy --enable-mods-shared=all --with-mpm=prefork
#make
#make install
그리고 연동은
mod_jk 이방식으로 하려다 안되서 포기하고
Proxy_AJP로 연동방식을 변경했습니다.
여기까지는 어떻게든지 했는데
apache 환경설정파일이 /etc/httpd/conf/httpd.conf 파일이 있고.
또 /usr/local/apache2/conf/httpd.conf 파일이 있습니다.
당췌 어떤게 진짜 apache 환경설정파일인지 모르겠습니다.
댓글 달기