플러그 인을 구성하려면 다음 iPlanet 구성 파일을 수정하십시오.
iPlanet 구성 파일에는 텍스트 배치에 대한 엄격한 규칙이 있습니다. 문제를 방지하려면 다음 사항에 주의하십시오.
iPlanet 인스턴스에 대한 iPlanet 구성 파일은 다음 위치에서 찾을 수 있습니다.
iplanet_home/https-instance_name/config/
여기서 iplanet_home은 iPlanet 설치의 루트 디렉터리이고 instance_name은 사용 중인 특정 서버 구성입니다.
다음 단계를 수행하십시오.
libproxy.so 파일을 iPlanet 모듈로 로드하도록 iPlanet에 지시하려면 다음 줄을 magnus.conf 파일의 시작 부분에 추가하십시오.
Init fn="load-modules" funcs="wl_proxy,wl_init"\ shlib=path in file system from step 1/libproxy.so Init fn="wl_init"
예:
Init fn="load-modules" funcs="wl_proxy,wl_init"\ shlib=/usr/local/netscape/plugins/libproxy.so Init fn="wl_init"
load-modules 함수는 iPlanet 시작 시 로드하도록 공유 라이브러리에 태그를 지정합니다. wl_proxy 및 wl_init 값은 플러그 인이 실행하는 함수를 식별합니다.
NameTrans fn=....
다음 Service 지시문을 Object name="default" 섹션에 추가합니다.
Service method="(GET|HEAD|POST|PUT)" type=text/jsp fn="wl-proxy"
참고: 기존 Service 지시문 뒤에 오는 줄에 이 지시문을 추가할 수 있습니다.
<Object name="idm" ppath="*/iam/*">"> Service fn="wl-proxy" WebLogicHost="hostname" WebLogicPort="portnumber" PathTrim="/weblogic" </Object> <Object name="weblogic1" ppath="*/console*"> Service fn="wl-proxy" WebLogicHost="hostname" WebLogicPort="portnumber" PathTrim="/weblogic" </Object>
여기서 hostname은 WebLogic을 설치한 시스템의 서버 이름과 도메인이고 portnumber는 WebLogic 포트(기본값: 7001)입니다.
Object 항목은 둘 이상 있을 수 있습니다.
예:
<Object name="idm" ppath="*/iam/*">"> Service fn="wl-proxy" WebLogicHost="MyServer.MyCompany.com" WebLogicPort="7001" PathTrim="/weblogic" <Object name="weblogic1" ppath="*/console*"> Service fn="wl-proxy" WebLogicHost="MyServer.MyCompany.com" WebLogicPort="7001" PathTrim="/weblogic" </Object>
|
Copyright © 2013 CA.
All rights reserved.
|
|