(주)누리웨어

Blog-이러닝/평생교육/쇼핑몰/학점은행/대학원학사/연수관리/설문대행

개발서버 – httpd+ jboss 의 Apache 설정

1)httpd.conf 설정
Include conf.d/mod_jk.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

2)/apache2/conf.d/ 안의파일 mod_jk.conf, uriworkermap.properties, workers.properties
(1) mod_jk.conf

(2)uriworkermap.properties

(3)workers.properties

3)httpd-vhosts.conf
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot “/web/apache2/htdocs/aaa1”
ServerName aaa1.nuriware.com
ServerAlias aaa1.nuriware.com

ErrorLog “| /web/apache2/bin/rotatelogs /web/apache2/logs/lms-error.log.%Y%m%d 86400”
CustomLog “| /web/apache2/bin/rotatelogs /web/apache2/logs/lms-access.log.%Y%m%d 86400” common

SetEnvIf Request_URI “/webimg/*” no-jk
JkMount / aaa1
JkMount /* aaa1
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot “/web/apache2/htdocs/bbb1”
ServerName bbb1.nuriware.com
ServerAlias bbb1.nuriware.com

ErrorLog “| /web/apache2/bin/rotatelogs /web/apache2/logs/bbb1-error.log.%Y%m%d 86400”
CustomLog “| /web/apache2/bin/rotatelogs /web/apache2/logs/bbb1-access.log.%Y%m%d 86400” common

JkMount / bbb1
JkMount /* bbb1

댓글 남기기